hailin0 commented on code in PR #3640:
URL:
https://github.com/apache/incubator-seatunnel/pull/3640#discussion_r1044258718
##########
docs/en/connector-v2/source/Maxcompute.md:
##########
@@ -0,0 +1,82 @@
+# Maxcompute
+
+> Maxcompute source connector
+
+## Description
+
+Used to read data from Maxcompute.
+
+## Key features
+
+- [x] [batch](../../concept/connector-v2-features.md)
+- [ ] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [schema projection](../../concept/connector-v2-features.md)
+- [x] [parallelism](../../concept/connector-v2-features.md)
+- [ ] [support user-defined split](../../concept/connector-v2-features.md)
+
+## Options
+
+| name | type | required | default value |
+|-----------------|--------|-----------|---------------|
+| accessId | string | yes | - |
+| accesskey | string | yes | - |
+| endpoint | string | yes | - |
+| project | string | yes | - |
+| table_name | string | yes | - |
+| partition_spec | string | no | - |
+| split_row | int | no | 10000 |
+| common-options | string | no | |
+
+### accessId [string]
+
+`accessId` Your Maxcompute accessId which cloud be access from Alibaba Cloud.
+
+### accesskey [string]
+
+`accesskey` Your Maxcompute accessKey which cloud be access from Alibaba Cloud.
+
+### endpoint [string]
+
+`endpoint` Your Maxcompute endpoint start with http.
+
+### project [string]
+
+`project` Your Maxcompute project which is created in Alibaba Cloud.
+
+### table_name [string]
+
+`table_name` Target Maxcompute table name eg: fake.
+
+### partition_spec [string]
+
+`partition_spec` This spec of Maxcompute partition table eg:ds='20220101'.
+
+### split_row [int]
+
+`split_row` Number of rows per split, default: 10000.
+
+### common options
+
+Source plugin common parameters, please refer to [Source Common
Options](common-options.md) for details.
+
+## Examples
+
+```hocon
+source {
+ Maxcompute {
+ accessId="<your access id>"
+ accesskey="<your access Key>"
+ endpoint="<http://service.odps.aliyun.com/api>"
+ project="<your project>"
+ table_name="<your table name>"
+ #partition_spec="<your partition spec>"
+ #split_row = 10000
+ }
+}
+```
+
+## Changelog
+
+### next version
+
+- Add Maxcompute Source Connector
Review Comment:
```suggestion
- [Feature] Add Maxcompute Source
Connector([3640](https://github.com/apache/incubator-seatunnel/pull/3640))
```
##########
docs/en/connector-v2/sink/Maxcompute.md:
##########
@@ -0,0 +1,79 @@
+# Maxcompute
+
+> Maxcompute sink connector
+
+## Description
+
+Used to read data from Maxcompute.
+
+## Key features
+
+- [ ] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [schema projection](../../concept/connector-v2-features.md)
+
+## Options
+
+| name | type | required | default value |
+|-------------------|----------|-----------|---------------|
+| accessId | string | yes | - |
+| accesskey | string | yes | - |
+| endpoint | string | yes | - |
+| project | string | yes | - |
+| table_name | string | yes | - |
+| partition_spec | string | no | - |
+| overwrite | boolean | no | false |
+| common-options | string | no | |
+
+### accessId [string]
+
+`accessId` Your Maxcompute accessId which cloud be access from Alibaba Cloud.
+
+### accesskey [string]
+
+`accesskey` Your Maxcompute accessKey which cloud be access from Alibaba Cloud.
+
+### endpoint [string]
+
+`endpoint` Your Maxcompute endpoint start with http.
+
+### project [string]
+
+`project` Your Maxcompute project which is created in Alibaba Cloud.
+
+### table_name [string]
+
+`table_name` Target Maxcompute table name eg: fake.
+
+### partition_spec [string]
+
+`partition_spec` This spec of Maxcompute partition table eg:ds='20220101'.
+
+### overwrite [boolean]
+
+`overwrite` Whether to overwrite the table or partition, default: false.
+
+### common options
+
+Sink plugin common parameters, please refer to [Sink Common
Options](common-options.md) for details.
+
+## Examples
+
+```hocon
+sink {
+ Maxcompute {
+ accessId="<your access id>"
+ accesskey="<your access Key>"
+ endpoint="<http://service.odps.aliyun.com/api>"
+ project="<your project>"
+ table_name="<your table name>"
+ #partition_spec="<your partition spec>"
+ #overwrite = false
+ }
+}
+```
+
+## Changelog
+
+### next version
+
+- Add Maxcompute Sink Connector
Review Comment:
```suggestion
- [Feature] Add Maxcompute Sink
Connector([3640](https://github.com/apache/incubator-seatunnel/pull/3640))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]