Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Airtable.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Used to read data from Airtable.
- [x] [batch](../../introduction/concepts/connector-v2-features.md)
- [ ] [stream](../../introduction/concepts/connector-v2-features.md)
- [ ] [exactly-once](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Asana.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ All columns are STRING: `gid`, `name`, `completed`, `completed_at`, `created_at`

```hocon
env {
execution.parallelism = 1
parallelism = 1
job.mode = BATCH
}

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Intercom.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Intercom's default limit is 10,000 calls per minute per app (25,000 per workspac

```hocon
env {
execution.parallelism = 1
parallelism = 1
job.mode = BATCH
}

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Jira.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Reads data from Jira REST APIs. The connector adds the Jira Basic authentication
- [x] [batch](../../introduction/concepts/connector-v2-features.md)
- [ ] [stream](../../introduction/concepts/connector-v2-features.md)
- [ ] [exactly-once](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/en/connectors/source/Kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ source {
```hocon

env {
execution.parallelism = 1
parallelism = 1
job.mode = "BATCH"
}

Expand Down Expand Up @@ -380,7 +380,7 @@ sink {
```hocon

env {
execution.parallelism = 1
parallelism = 1
job.mode = "BATCH"
}

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Kudu.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ChangeLog from '../changelog/connector-kudu.md';

- [x] [batch](../../introduction/concepts/connector-v2-features.md)
- [ ] [exactly-once](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [x] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/OceanBase-CDC.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ list.

```
env {
execution.parallelism = 1
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
}
Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/OneSignal.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use this connector to ingest OneSignal resources such as apps, players, segments
- [x] [batch](../../introduction/concepts/connector-v2-features.md)
- [ ] [stream](../../introduction/concepts/connector-v2-features.md)
- [ ] [exactly-once](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Opengauss-CDC.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ select 'ALTER TABLE ' || schemaname || '.' || tablename || ' REPLICA IDENTITY FU
```hocon
env {
# You can set engine configuration here
execution.parallelism = 1
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
read_limit.bytes_per_second = 7000000
Expand Down
80 changes: 40 additions & 40 deletions docs/en/connectors/source/OssJindoFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import ChangeLog from '../changelog/connector-file-oss-jindo.md';

Read all the data in a split in a pollNext call. What splits are read will be saved in snapshot.

- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [x] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)
- [x] file format type
Expand Down Expand Up @@ -57,45 +57,45 @@ It only supports hadoop version **2.9.X+**.

## Options

| name | type | required | default value |
|----------------------------|---------|----------|-----------------------------|
| path | string | yes | - |
| file_format_type | string | yes | - |
| bucket | string | yes | - |
| access_key | string | yes | - |
| access_secret | string | yes | - |
| endpoint | string | yes | - |
| read_columns | list | no | - |
| read_partitions | list | no | - |
| delimiter/field_delimiter | string | no | \001 |
| row_delimiter | string | no | \n |
| parse_partition_from_path | boolean | no | true |
| date_format | string | no | yyyy-MM-dd |
| datetime_format | string | no | yyyy-MM-dd HH:mm:ss |
| time_format | string | no | HH:mm:ss |
| skip_header_row_number | long | no | 0 |
| schema | config | no | - |
| sheet_name | string | no | - |
| excel_engine | string | no | POI |
| poi_excel_max_file_size | long | no | 52428800 |
| xml_row_tag | string | no | - |
| xml_use_attr_format | boolean | no | - |
| csv_use_header_line | boolean | no | false |
| file_filter_pattern | string | no | |
| filename_extension | string | no | - |
| compress_codec | string | no | none |
| archive_compress_codec | string | no | none |
| encoding | string | no | UTF-8 |
| null_format | string | no | - |
| binary_chunk_size | int | no | 1024 |
| binary_complete_file_mode | boolean | no | false |
| common-options | | no | - |
| file_filter_modified_start | string | no | - |
| file_filter_modified_end | string | no | - |
| quote_char | string | no | " |
| escape_char | string | no | - |
| recursive_file_scan | boolean | no | true |
| sort_files_by_modification_time | boolean | no | false |
| name | type | required | default value | description |
|----------------------------|---------|----------|-----------------------------|-------------|
| path | string | yes | - | Target directory path. |
| file_format_type | string | yes | - | File type. Supported types: `text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown` `pdf`. |
| bucket | string | yes | - | The bucket address of the OSS file system. |
| access_key | string | yes | - | The access key of the OSS file system. |
| access_secret | string | yes | - | The access secret of the OSS file system. |
| endpoint | string | yes | - | The endpoint of the OSS file system. |
| read_columns | list | no | - | The list of columns to read from the data source. |
| read_partitions | list | no | - | The partitions the user wants to read, e.g. `["year=2024"]`. Only these partitions are read when set. |
| delimiter/field_delimiter | string | no | \001 | Field delimiter. |
| row_delimiter | string | no | \n | Row delimiter. |
| parse_partition_from_path | boolean | no | true | Whether to parse partition keys and values from the file path. |
| date_format | string | no | yyyy-MM-dd | Format for date types. |
| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Format for datetime types. |
| time_format | string | no | HH:mm:ss | Format for time types. |
| skip_header_row_number | long | no | 0 | The number of leading rows to skip. |
| schema | config | no | - | Information of upstream data schema. For more details, please refer to [Schema Feature](../../introduction/concepts/schema-feature.md). |
| sheet_name | string | no | - | The sheet name to read; only valid for excel files. |
| excel_engine | string | no | POI | Only used when `file_format` is excel. Supported engines include `POI` and `EasyExcel`. |
| poi_excel_max_file_size | long | no | 52428800 | Only used when `file_format` is excel and `excel_engine` is POI. The maximum Excel file size (default 50 MB) that the POI engine allows reading. |
| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file. |
| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format. |
| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file; only used when `file_format` is csv. |
| file_filter_pattern | string | no | - | File pattern. The connector will filter files based on the pattern. |
| filename_extension | string | no | - | Filter files by the specified filename extension, e.g. `csv`, `.txt`, `json` or `.xml`. |
| compress_codec | string | no | none | The compression codec used when reading files. |
| archive_compress_codec | string | no | none | The archive compression codec used when reading archive files. |
| encoding | string | no | UTF-8 | The character encoding used when reading `json`, `text`, `csv` or `xml` files. |
| null_format | string | no | - | Only used in `text` format; specifies the string that should be parsed as `null`. |
| binary_chunk_size | int | no | 1024 | Only used when `file_format_type` is binary. The chunk size (in bytes) for reading binary files. Default is 1024 bytes. Larger values may improve performance for large files but use more memory. |
| binary_complete_file_mode | boolean | no | false | Only used when `file_format_type` is binary. Whether to read the complete file as a single chunk instead of splitting it into chunks. |
| common-options | | no | - | Source plugin common parameters, please refer to [Source Common Options](../common-options/source-common-options.md) for details. |
| file_filter_modified_start | string | no | - | File modification time filter start time (inclusive). The connector will filter files based on the last modification start time. The default data format is yyyy-MM-dd HH:mm:ss. |
| file_filter_modified_end | string | no | - | File modification time filter end time (exclusive). The connector will filter files based on the last modification end time. The default data format is yyyy-MM-dd HH:mm:ss. |
| quote_char | string | no | " | A single character used to enclose CSV fields, so that fields containing commas, line breaks or quotes are parsed correctly. |
| escape_char | string | no | - | A single character used to escape quotes or other special characters inside a CSV field so they do not end the field. |
| recursive_file_scan | boolean | no | true | Whether to recursively scan subdirectories. If set to `false`, subdirectories are ignored and only files under the specified path are scanned. |
| sort_files_by_modification_time | boolean | no | false | Whether to sort files by modification time in descending order. Enable this when reading evolving schemas to ensure schema inference uses the latest file. Disabled by default to avoid performance overhead for large file directories. |

### path [string]

Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/PostgreSQL-CDC.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ALTER TABLE your_table_name REPLICA IDENTITY FULL;

env {
# You can set engine configuration here
execution.parallelism = 1
parallelism = 1
job.mode = "STREAMING"
checkpoint.interval = 5000
read_limit.bytes_per_second=7000000
Expand Down
2 changes: 1 addition & 1 deletion docs/en/connectors/source/Shopify.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Used to read data from the [Shopify Admin REST API](https://shopify.dev/docs/api
- [x] [batch](../../introduction/concepts/connector-v2-features.md)
- [ ] [stream](../../introduction/concepts/connector-v2-features.md)
- [ ] [exactly-once](../../introduction/concepts/connector-v2-features.md)
- [x] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [column projection](../../introduction/concepts/connector-v2-features.md)
- [ ] [parallelism](../../introduction/concepts/connector-v2-features.md)
- [ ] [support user-defined split](../../introduction/concepts/connector-v2-features.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/en/transforms/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Expose Kafka `ConsumerRecord.timestamp` (injected into `EventTime`) as `kafka_ts

```hocon
env {
execution.parallelism = 4
parallelism = 4
job.mode = "STREAMING"
checkpoint.interval = 60000
}
Expand Down
40 changes: 20 additions & 20 deletions docs/zh/connectors/sink/Hive.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ import ChangeLog from '../changelog/connector-hive.md';

## 选项

| 名称 | 类型 | 必需 | 默认值 |
|---------------------------------------|---------|----|----------------|
| table_name | string | 是 | - |
| metastore_uri | string | 否 | - |
| compress_codec | string | 否 | none |
| hdfs_site_path | string | 否 | - |
| hive_site_path | string | 否 | - |
| hive.hadoop.conf | Map | 否 | - |
| hive.hadoop.conf-path | string | 否 | - |
| remote_user | string | 否 | - |
| krb5_path | string | 否 | /etc/krb5.conf |
| kerberos_principal | string | 否 | - |
| kerberos_keytab_path | string | 否 | - |
| abort_drop_partition_metadata | boolean | 否 | false |
| parquet_avro_write_timestamp_as_int96 | boolean | 否 | false |
| overwrite | boolean | 否 | false |
| data_save_mode | enum | 否 | APPEND_DATA |
| schema_save_mode | enum | 否 | CREATE_SCHEMA_WHEN_NOT_EXIST |
| save_mode_create_template | string | 否 | - |
| common-options | | 否 | - |
| 名称 | 类型 | 必需 | 默认值 | 描述 |
|---------------------------------------|---------|----|----------------|---------------------------------------------------------------------------------|
| table_name | string | 是 | - | 目标 Hive 表名,例如 `db1.table1`。多表模式下可使用 `${database_name}.${table_name}`,SeaTunnel 会用上游值进行替换。 |
| metastore_uri | string | 否 | - | Hive Metastore URI。当未通过 `hive_site_path`、`hive.hadoop.conf-path` 或 `hive.hadoop.conf` 配置 `hive.metastore.client.factory.class` 时必填。多个值用逗号分隔可启用 HA 故障转移。 |
| compress_codec | string | 否 | none | 输出压缩编解码器。支持 `lzo` 和 `none`。Parquet / ORC 会自动检测压缩。 |
| hdfs_site_path | string | 否 | - | `hdfs-site.xml` 的本地路径。新作业不建议使用——优先使用 `hive.hadoop.conf` 或 `hive.hadoop.conf-path`。 |
| hive_site_path | string | 否 | - | `hive-site.xml` 的本地路径。 |
| hive.hadoop.conf | Map | 否 | - | 内联的 Hadoop 配置属性。 |
| hive.hadoop.conf-path | string | 否 | - | 包含 `core-site.xml`、`hdfs-site.xml` 和 `hive-site.xml` 的目录。 |
| remote_user | string | 否 | - | 非 Kerberos 连接时使用的 Hadoop 远程用户名。 |
| krb5_path | string | 否 | /etc/krb5.conf | Kerberos 认证使用的 `krb5.conf` 路径。 |
| kerberos_principal | string | 否 | - | Kerberos 认证的 principal。 |
| kerberos_keytab_path | string | 否 | - | 与 `kerberos_principal` 配套的 keytab 文件路径。 |
| abort_drop_partition_metadata | boolean | 否 | false | 为 true 时,任务中止会从 Hive Metastore 中删除分区元数据,但分区下的数据文件仍会被删除。 |
| parquet_avro_write_timestamp_as_int96 | boolean | 否 | false | 从 timestamp 写入 Parquet `INT96`。仅对 parquet 输出有效。 |
| overwrite | boolean | 否 | false | 提交前替换已有数据。等价于 `data_save_mode = "DROP_DATA"`。 |
| data_save_mode | enum | 否 | APPEND_DATA | 写入前如何处理已有数据。可选 `APPEND_DATA`(默认)、`DROP_DATA`、`CUSTOM_PROCESSING`、`ERROR_WHEN_DATA_EXISTS`。 |
| schema_save_mode | enum | 否 | CREATE_SCHEMA_WHEN_NOT_EXIST | 写入前如何处理目标表 schema。可选 `RECREATE_SCHEMA`、`CREATE_SCHEMA_WHEN_NOT_EXIST`、`ERROR_WHEN_SCHEMA_NOT_EXIST`、`IGNORE`。 |
| save_mode_create_template | string | 否 | - | 自动创建目标 Hive 表时使用的自定义 DDL 模板。变量:`${database}`、`${table}`、`${rowtype_fields}`、`${rowtype_partition_fields}`、`${table_location}`、`${current_timestamp}`。 |
| common-options | | 否 | - | Sink 插件通用参数,详见 [Sink 常用选项](../common-options/sink-common-options.md)。 |

### table_name [string]

Expand Down
Loading
Loading