Skip to content

Commit

Permalink
Support catalog in MaxCompute Source
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun committed Aug 23, 2023
1 parent 843d203 commit 9577e7d
Show file tree
Hide file tree
Showing 16 changed files with 692 additions and 328 deletions.
15 changes: 15 additions & 0 deletions docs/en/connector-v2/source/Maxcompute.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Used to read data from Maxcompute.
| partition_spec | string | no | - |
| split_row | int | no | 10000 |
| common-options | string | no | |
| schema | config | no | |

### accessId [string]

Expand Down Expand Up @@ -59,6 +60,12 @@ Used to read data from Maxcompute.

Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details.

### schema [config]

#### fields [Config]

The schema information of upstream data.

## Examples

```hocon
Expand All @@ -71,6 +78,13 @@ source {
table_name="<your table name>"
#partition_spec="<your partition spec>"
#split_row = 10000
schema {
fields {
name = string
age = int
gender = string
}
}
}
}
```
Expand All @@ -80,4 +94,5 @@ source {
### next version

- [Feature] Add Maxcompute Source Connector([3640](https://github.com/apache/seatunnel/pull/3640))
- [Feature] Support Schema in MaxCompute Source([3640](https://github.com/apache/seatunnel/pull/5283))

8 changes: 4 additions & 4 deletions docs/en/connector-v2/source/MyHours.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ Used to read data from My Hours.
In order to use the My Hours connector, the following dependencies are required.
They can be downloaded via install-plugin.sh or from the Maven central repository.

| Datasource | Supported Versions | Dependency |
|------------|--------------------|------------------------------------------------------------------------------------------------|
| My Hours | universal | [Download](https://mvnrepository.com/artifact/org.apache.seatunnel/seatunnel-connectors-v2) |
| Datasource | Supported Versions | Dependency |
|------------|--------------------|---------------------------------------------------------------------------------------------|
| My Hours | universal | [Download](https://mvnrepository.com/artifact/org.apache.seatunnel/seatunnel-connectors-v2) |

## Source Options

| Name | Type | Required | Default | Description |
| Name | Type | Required | Default | Description |
|-----------------------------|---------|----------|---------|--------------------------------------------------------------------------------------------------------------------------------------|
| url | String | Yes | - | Http request url. |
| email | String | Yes | - | My hours login email address. |
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9577e7d

Please sign in to comment.