This is an automated email from the ASF dual-hosted git repository.
zhangdonghao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 7e95d66d1d [Fix][Doc] Fix `file_filter_modified_start` and `file_filter_modified_end` format (#9880)
7e95d66d1d is described below
commit 7e95d66d1d9dff669af78fe29e84c8f89f019170
Author: Jia Fan <fa...@qq.com>
AuthorDate: Sun Sep 21 18:19:21 2025 +0800
[Fix][Doc] Fix `file_filter_modified_start` and `file_filter_modified_end` format (#9880)
---
docs/en/connector-v2/source/CosFile.md | 70 ++++++++++++++++-------------
docs/en/connector-v2/source/FtpFile.md | 12 ++++-
docs/en/connector-v2/source/HdfsFile.md | 68 ++++++++++++++--------------
docs/en/connector-v2/source/LocalFile.md | 66 +++++++++++++++------------
docs/en/connector-v2/source/ObsFile.md | 44 +++++++++---------
docs/en/connector-v2/source/OssFile.md | 64 +++++++++++++-------------
docs/en/connector-v2/source/OssJindoFile.md | 66 +++++++++++++++------------
docs/en/connector-v2/source/SftpFile.md | 64 +++++++++++++-------------
docs/zh/connector-v2/source/CosFile.md | 68 +++++++++++++++-------------
docs/zh/connector-v2/source/FtpFile.md | 12 ++++-
docs/zh/connector-v2/source/HdfsFile.md | 68 ++++++++++++++--------------
docs/zh/connector-v2/source/LocalFile.md | 68 +++++++++++++++-------------
docs/zh/connector-v2/source/OssFile.md | 62 ++++++++++++-------------
docs/zh/connector-v2/source/SftpFile.md | 64 +++++++++++++-------------
14 files changed, 426 insertions(+), 370 deletions(-)
diff --git a/docs/en/connector-v2/source/CosFile.md b/docs/en/connector-v2/source/CosFile.md
index 9818b641a5..ecdb87cac4 100644
--- a/docs/en/connector-v2/source/CosFile.md
+++ b/docs/en/connector-v2/source/CosFile.md
@@ -52,37 +52,37 @@ To use this connector you need put hadoop-cos-{hadoop.version}-{version}.jar and
## Options
-| name | type | required | default value |
-|---------------------------|---------|----------|-----------------------------|
-| path | string | yes | - |
-| file_format_type | string | yes | - |
-| bucket | string | yes | - |
-| secret_id | string | yes | - |
-| secret_key | string | yes | - |
-| region | string | yes | - |
-| read_columns | list | yes | - |
-| delimiter/field_delimiter | string | no | \001 for text and , for csv |
-| row_delimiter | string | no | \n |
-| parse_partition_from_path | boolean | no | true |
-| skip_header_row_number | long | no | 0 |
-| date_format | string | no | yyyy-MM-dd |
-| datetime_format | string | no | yyyy-MM-dd HH:mm:ss |
-| time_format | string | no | HH:mm:ss |
-| schema | config | no | - |
-| sheet_name | string | no | - |
-| 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 |
-| binary_chunk_size | int | no | 1024 |
-| binary_complete_file_mode | boolean | no | false |
-| common-options | | no | - |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| name | type | required | default value |
+|----------------------------|---------|----------|-----------------------------|
+| path | string | yes | - |
+| file_format_type | string | yes | - |
+| bucket | string | yes | - |
+| secret_id | string | yes | - |
+| secret_key | string | yes | - |
+| region | string | yes | - |
+| read_columns | list | yes | - |
+| delimiter/field_delimiter | string | no | \001 for text and , for csv |
+| row_delimiter | string | no | \n |
+| parse_partition_from_path | boolean | no | true |
+| skip_header_row_number | long | no | 0 |
+| date_format | string | no | yyyy-MM-dd |
+| datetime_format | string | no | yyyy-MM-dd HH:mm:ss |
+| time_format | string | no | HH:mm:ss |
+| schema | config | no | - |
+| sheet_name | string | no | - |
+| 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 |
+| 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 | - |
### path [string]
@@ -409,6 +409,14 @@ Only used when file_format_type is binary.
Whether to read the complete file as a single chunk instead of splitting into chunks. When enabled, the entire file content will be read into memory at once. Default is false.
+### file_filter_modified_start [string]
+
+File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
+### file_filter_modified_end [string]
+
+File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
### common options
Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details.
diff --git a/docs/en/connector-v2/source/FtpFile.md b/docs/en/connector-v2/source/FtpFile.md
index 9705e227a5..f292a7eb3d 100644
--- a/docs/en/connector-v2/source/FtpFile.md
+++ b/docs/en/connector-v2/source/FtpFile.md
@@ -77,8 +77,8 @@ If you use SeaTunnel Engine, It automatically integrated the hadoop jar when you
| binary_chunk_size | int | no | 1024 |
| binary_complete_file_mode | boolean | no | false |
| common-options | | no | - |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| file_filter_modified_start | string | no | - |
+| file_filter_modified_end | string | no | - |
### host [string]
@@ -424,6 +424,14 @@ Only used when file_format_type is binary.
Whether to read the complete file as a single chunk instead of splitting into chunks. When enabled, the entire file content will be read into memory at once. Default is false.
+### file_filter_modified_start [string]
+
+File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
+### file_filter_modified_end [string]
+
+File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
### common options
Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details.
diff --git a/docs/en/connector-v2/source/HdfsFile.md b/docs/en/connector-v2/source/HdfsFile.md
index b208497df1..1275744659 100644
--- a/docs/en/connector-v2/source/HdfsFile.md
+++ b/docs/en/connector-v2/source/HdfsFile.md
@@ -49,40 +49,40 @@ Read data from hdfs file system.
## Source Options
-| Name | Type | Required | Default | Description |
-|---------------------------|---------|----------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| path | string | yes | - | The source file path. |
-| file_format_type | string | yes | - | We supported as the following file types:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown`.Please note that, The final file name will end with the file_format's suffix, the suffix of the text file is `txt`. |
-| fs.defaultFS | string | yes | - | The hadoop cluster address that start with `hdfs://`, for example: `hdfs://hadoopcluster` |
-| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection.The file type supported column projection as the following shown:[text,json,csv,orc,parquet,excel,xml].Tips: If the user wants to use this feature when reading `text` `json` `csv` files, the schema option must be configured. |
-| hdfs_site_path | string | no | - | The path of `hdfs-site.xml`, used to load ha configuration of namenodes |
-| delimiter/field_delimiter | string | no | \001 for text and , for csv | Field delimiter, used to tell connector how to slice and dice fields when reading text files. default `\001`, the same as hive's default delimiter |
-| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. default `\n` |
-| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. For example if you read a file from path `hdfs://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`. Every record data from file will be added these two fields:[name:tyrantlucifer,age:26].Tips:Do not define partition fields in schema option. |
-| date_format | string | no | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` default `yyyy-MM-dd`.Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` default `yyyy-MM-dd` |
-| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` .default `yyyy-MM-dd HH:mm:ss` |
-| time_format | string | no | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats:`HH:mm:ss` `HH:mm:ss.SSS`.default `HH:mm:ss` |
-| remote_user | string | no | - | The login user used to connect to hadoop login name. It is intended to be used for remote users in RPC, it won't have any credentials. |
-| krb5_path | string | no | /etc/krb5.conf | The krb5 path of kerberos |
-| kerberos_principal | string | no | - | The principal of kerberos |
-| kerberos_keytab_path | string | no | - | The keytab path of kerberos |
-| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv.For example, set like following:`skip_header_row_number = 2`.then Seatunnel will skip the first 2 lines from source files |
-| schema | config | no | - | the schema fields of upstream data |
-| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
-| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
-| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
-| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
-| file_filter_pattern | string | no | | Filter pattern, which used for filtering files. |
-| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
-| compress_codec | string | no | none | The compress codec of files |
-| archive_compress_codec | string | no | none |
-| encoding | string | no | UTF-8 | |
-| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
-| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
-| common-options | | no | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| Name | Type | Required | Default | Description |
+|----------------------------|---------|----------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| path | string | yes | - | The source file path. |
+| file_format_type | string | yes | - | We supported as the following file types:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown`.Please note that, The final file name will end with the file_format's suffix, the suffix of the text file is `txt`. |
+| fs.defaultFS | string | yes | - | The hadoop cluster address that start with `hdfs://`, for example: `hdfs://hadoopcluster` |
+| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection.The file type supported column projection as the following shown:[text,json,csv,orc,parquet,excel,xml].Tips: If the user wants to use this feature when reading `text` `json` `csv` files, the schema option must be configured. |
+| hdfs_site_path | string | no | - | The path of `hdfs-site.xml`, used to load ha configuration of namenodes |
+| delimiter/field_delimiter | string | no | \001 for text and , for csv | Field delimiter, used to tell connector how to slice and dice fields when reading text files. default `\001`, the same as hive's default delimiter |
+| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. default `\n` |
+| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. For example if you read a file from path `hdfs://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`. Every record data from file will be added these two fields:[name:tyrantlucifer,age:26].Tips:Do not define partition fields in schema option. |
+| date_format | string | no | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` default `yyyy-MM-dd`.Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` default `yyyy-MM-dd` |
+| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` .default `yyyy-MM-dd HH:mm:ss` |
+| time_format | string | no | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats:`HH:mm:ss` `HH:mm:ss.SSS`.default `HH:mm:ss` |
+| remote_user | string | no | - | The login user used to connect to hadoop login name. It is intended to be used for remote users in RPC, it won't have any credentials. |
+| krb5_path | string | no | /etc/krb5.conf | The krb5 path of kerberos |
+| kerberos_principal | string | no | - | The principal of kerberos |
+| kerberos_keytab_path | string | no | - | The keytab path of kerberos |
+| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv.For example, set like following:`skip_header_row_number = 2`.then Seatunnel will skip the first 2 lines from source files |
+| schema | config | no | - | the schema fields of upstream data |
+| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
+| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
+| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
+| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
+| file_filter_pattern | string | no | | Filter pattern, which used for filtering files. |
+| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
+| compress_codec | string | no | none | The compress codec of files |
+| archive_compress_codec | string | no | none |
+| encoding | string | no | UTF-8 | |
+| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
+| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
+| common-options | | no | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
+| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
### file_format_type [string]
diff --git a/docs/en/connector-v2/source/LocalFile.md b/docs/en/connector-v2/source/LocalFile.md
index 6b41e5f420..c9ea01c757 100644
--- a/docs/en/connector-v2/source/LocalFile.md
+++ b/docs/en/connector-v2/source/LocalFile.md
@@ -50,35 +50,35 @@ If you use SeaTunnel Engine, It automatically integrated the hadoop jar when you
## Options
-| name | type | required | default value |
-|---------------------------|---------|----------|--------------------------------------|
-| path | string | yes | - |
-| file_format_type | string | yes | - |
-| read_columns | list | no | - |
-| delimiter/field_delimiter | string | no | \001 for text and , for csv |
-| 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 |
-| 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 | - |
-| tables_configs | list | no | used to define a multiple table task |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| name | type | required | default value |
+|----------------------------|---------|----------|--------------------------------------|
+| path | string | yes | - |
+| file_format_type | string | yes | - |
+| read_columns | list | no | - |
+| delimiter/field_delimiter | string | no | \001 for text and , for csv |
+| 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 |
+| 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 | - |
+| tables_configs | list | no | used to define a multiple table task |
+| file_filter_modified_start | string | no | - |
+| file_filter_modified_end | string | no | - |
### path [string]
@@ -398,6 +398,14 @@ Only used when file_format_type is binary.
Whether to read the complete file as a single chunk instead of splitting into chunks. When enabled, the entire file content will be read into memory at once. Default is false.
+### file_filter_modified_start [string]
+
+File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
+### file_filter_modified_end [string]
+
+File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
### common options
Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details
diff --git a/docs/en/connector-v2/source/ObsFile.md b/docs/en/connector-v2/source/ObsFile.md
index f9004ee59e..ddb7389903 100644
--- a/docs/en/connector-v2/source/ObsFile.md
+++ b/docs/en/connector-v2/source/ObsFile.md
@@ -62,28 +62,28 @@ It only supports hadoop version **2.9.X+**.
## Options
-| name | type | required | default | description |
-|---------------------------|---------|----------|---------------------|---------------------------------------------------------------------------------------------------------------------------|
-| path | string | yes | - | The target dir path |
-| file_format_type | string | yes | - | File type.[Tips](#file_format_type) |
-| bucket | string | yes | - | The bucket address of obs file system, for example: `obs://obs-bucket-name` |
-| access_key | string | yes | - | The access key of obs file system |
-| access_secret | string | yes | - | The access secret of obs file system |
-| endpoint | string | yes | - | The endpoint of obs file system |
-| read_columns | list | yes | - | The read column list of the data source, user can use it to implement field projection.[Tips](#read_columns) |
-| delimiter | string | no | \001 | Field delimiter, used to tell connector how to slice and dice fields when reading text files |
-| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. Default is `\n` for text files. |
-| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. [Tips](#parse_partition_from_path) |
-| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv. |
-| date_format | string | no | yyyy-MM-dd | Date type format, used to tell the connector how to convert string to date.[Tips](#date_format) |
-| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell the connector how to convert string to datetime.[Tips](#datetime_format) |
-| time_format | string | no | HH:mm:ss | Time type format, used to tell the connector how to convert string to time.[Tips](#time_format) |
-| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
-| schema | config | no | - | [Tips](#schema) |
-| common-options | | no | - | [Tips](#common_options) |
-| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| name | type | required | default | description |
+|----------------------------|---------|----------|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| path | string | yes | - | The target dir path |
+| file_format_type | string | yes | - | File type.[Tips](#file_format_type) |
+| bucket | string | yes | - | The bucket address of obs file system, for example: `obs://obs-bucket-name` |
+| access_key | string | yes | - | The access key of obs file system |
+| access_secret | string | yes | - | The access secret of obs file system |
+| endpoint | string | yes | - | The endpoint of obs file system |
+| read_columns | list | yes | - | The read column list of the data source, user can use it to implement field projection.[Tips](#read_columns) |
+| delimiter | string | no | \001 | Field delimiter, used to tell connector how to slice and dice fields when reading text files |
+| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. Default is `\n` for text files. |
+| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. [Tips](#parse_partition_from_path) |
+| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv. |
+| date_format | string | no | yyyy-MM-dd | Date type format, used to tell the connector how to convert string to date.[Tips](#date_format) |
+| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell the connector how to convert string to datetime.[Tips](#datetime_format) |
+| time_format | string | no | HH:mm:ss | Time type format, used to tell the connector how to convert string to time.[Tips](#time_format) |
+| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
+| schema | config | no | - | [Tips](#schema) |
+| common-options | | no | - | [Tips](#common_options) |
+| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
+| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
### Tips
diff --git a/docs/en/connector-v2/source/OssFile.md b/docs/en/connector-v2/source/OssFile.md
index 6f664fe6c4..d3ed99e235 100644
--- a/docs/en/connector-v2/source/OssFile.md
+++ b/docs/en/connector-v2/source/OssFile.md
@@ -183,38 +183,38 @@ If you assign file type to `parquet` `orc`, schema option not required, connecto
## Options
-| name | type | required | default value | Description |
-|---------------------------|---------|----------|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| path | string | yes | - | The Oss path that needs to be read can have sub paths, but the sub paths need to meet certain format requirements. Specific requirements can be referred to "parse_partition_from_path" option |
-| file_format_type | string | yes | - | File type, supported as the following file types: `text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown` |
-| bucket | string | yes | - | The bucket address of oss file system, for example: `oss://seatunnel-test`. |
-| endpoint | string | yes | - | fs oss endpoint |
-| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection. The file type supported column projection as the following shown: `text` `csv` `parquet` `orc` `json` `excel` `xml` . If the user wants to use this feature when reading `text` `json` `csv` files, the "schema" option must be configured. |
-| access_key | string | no | - | |
-| access_secret | string | no | - | |
-| delimiter | string | no | \001 | Field delimiter, used to tell connector how to slice and dice fields when reading text files. Default `\001`, the same as hive's default delimiter. |
-| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. Default `\n`. |
-| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. For example if you read a file from path `oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`. Every record data from file will be added these two fields: name="tyrantlucifer", age=16 |
-| date_format | string | no | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd`. default `yyyy-MM-dd` |
-| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` |
-| time_format | string | no | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats:`HH:mm:ss` `HH:mm:ss.SSS` |
-| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
-| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv. For example, set like following:`skip_header_row_number = 2`. Then SeaTunnel will skip the first 2 lines from source files |
-| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
-| schema | config | no | - | The schema of upstream data. |
-| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
-| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
-| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
-| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
-| compress_codec | string | no | none | Which compress codec the files used. |
-| encoding | string | no | UTF-8 |
-| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
-| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
-| file_filter_pattern | string | no | | Filter pattern, which used for filtering files. |
-| common-options | config | no | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| name | type | required | default value | Description |
+|----------------------------|---------|----------|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| path | string | yes | - | The Oss path that needs to be read can have sub paths, but the sub paths need to meet certain format requirements. Specific requirements can be referred to "parse_partition_from_path" option |
+| file_format_type | string | yes | - | File type, supported as the following file types: `text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown` |
+| bucket | string | yes | - | The bucket address of oss file system, for example: `oss://seatunnel-test`. |
+| endpoint | string | yes | - | fs oss endpoint |
+| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection. The file type supported column projection as the following shown: `text` `csv` `parquet` `orc` `json` `excel` `xml` . If the user wants to use this feature when reading `text` `json` `csv` files, the "schema" option must be configured. |
+| access_key | string | no | - | |
+| access_secret | string | no | - | |
+| delimiter | string | no | \001 | Field delimiter, used to tell connector how to slice and dice fields when reading text files. Default `\001`, the same as hive's default delimiter. |
+| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. Default `\n`. |
+| parse_partition_from_path | boolean | no | true | Control whether parse the partition keys and values from file path. For example if you read a file from path `oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`. Every record data from file will be added these two fields: name="tyrantlucifer", age=16 |
+| date_format | string | no | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd`. default `yyyy-MM-dd` |
+| datetime_format | string | no | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` |
+| time_format | string | no | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats:`HH:mm:ss` `HH:mm:ss.SSS` |
+| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
+| skip_header_row_number | long | no | 0 | Skip the first few lines, but only for the txt and csv. For example, set like following:`skip_header_row_number = 2`. Then SeaTunnel will skip the first 2 lines from source files |
+| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
+| schema | config | no | - | The schema of upstream data. |
+| sheet_name | string | no | - | Reader the sheet of the workbook,Only used when file_format is excel. |
+| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
+| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
+| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
+| compress_codec | string | no | none | Which compress codec the files used. |
+| encoding | string | no | UTF-8 |
+| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
+| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
+| file_filter_pattern | string | no | | Filter pattern, which used for filtering files. |
+| common-options | config | no | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
+| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
### file_format_type [string]
diff --git a/docs/en/connector-v2/source/OssJindoFile.md b/docs/en/connector-v2/source/OssJindoFile.md
index 59183b555e..8d7634cb91 100644
--- a/docs/en/connector-v2/source/OssJindoFile.md
+++ b/docs/en/connector-v2/source/OssJindoFile.md
@@ -56,35 +56,35 @@ 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 | - |
-| delimiter/field_delimiter | string | no | \001 for text and , for csv |
-| 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 | - |
-| xml_row_tag | string | no | - |
-| xml_use_attr_format | boolean | no | - |
-| csv_use_header_line | boolean | no | false |
-| file_filter_pattern | string | no | |
-| compress_codec | string | no | none |
-| archive_compress_codec | string | no | none |
-| encoding | string | no | UTF-8 |
-| null_format | string | no | - |
-| common-options | | no | - |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). the default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). the default data format is `yyyy-MM-dd HH:mm:ss`. |
+| 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 | - |
+| delimiter/field_delimiter | string | no | \001 for text and , for csv |
+| 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 | - |
+| xml_row_tag | string | no | - |
+| xml_use_attr_format | boolean | no | - |
+| csv_use_header_line | boolean | no | false |
+| file_filter_pattern | string | no | |
+| compress_codec | string | no | none |
+| archive_compress_codec | string | no | none |
+| encoding | string | no | UTF-8 |
+| null_format | string | no | - |
+| common-options | | no | - |
+| file_filter_modified_start | string | no | - |
+| file_filter_modified_end | string | no | - |
### path [string]
@@ -390,6 +390,14 @@ null_format to define which strings can be represented as null.
e.g: `\N`
+### file_filter_modified_start [string]
+
+File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
+### file_filter_modified_end [string]
+
+File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`.
+
### common options
Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details.
diff --git a/docs/en/connector-v2/source/SftpFile.md b/docs/en/connector-v2/source/SftpFile.md
index 40333c96de..14f4315e67 100644
--- a/docs/en/connector-v2/source/SftpFile.md
+++ b/docs/en/connector-v2/source/SftpFile.md
@@ -78,38 +78,38 @@ The File does not have a specific type list, and we can indicate which SeaTunnel
## Source Options
-| Name | Type | Required | default value | Description |
-|---------------------------|---------|----------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| host | String | Yes | - | The target sftp host is required |
-| port | Int | Yes | - | The target sftp port is required |
-| user | String | Yes | - | The target sftp username is required |
-| password | String | Yes | - | The target sftp password is required |
-| path | String | Yes | - | The source file path. |
-| file_format_type | String | Yes | - | Please check #file_format_type below |
-| file_filter_pattern | String | No | - | Filter pattern, which used for filtering files. |
-| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
-| delimiter/field_delimiter | String | No | \001 for text and ',' for csv | **delimiter** parameter will deprecate after version 2.3.5, please use **field_delimiter** instead. <br/> Field delimiter, used to tell connector how to slice and dice fields when reading text files. <br/> Default `\001`, the same as hive's default delimiter |
-| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. <br/> Default `\n` |
-| parse_partition_from_path | Boolean | No | true | Control whether parse the partition keys and values from file path <br/> For example if you read a file from path `oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26` <br/> Every record data from file will be added these two fields: <br/> name age <br/> tyrantlucifer 26 <br/> Tips: **Do not define partition fields in schema option** |
-| date_format | String | No | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats: <br/> `yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` <br/> default `yyyy-MM-dd` |
-| datetime_format | String | No | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats: <br/> `yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` <br/> default `yyyy-MM-dd HH:mm:ss` |
-| time_format | String | No | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats: <br/> `HH:mm:ss` `HH:mm:ss.SSS` <br/> default `HH:mm:ss` |
-| skip_header_row_number | Long | No | 0 | Skip the first few lines, but only for the txt and csv. <br/> For example, set like following: <br/> `skip_header_row_number = 2` <br/> then SeaTunnel will skip the first 2 lines from source files |
-| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection. |
-| sheet_name | String | No | - | Reader the sheet of the workbook,Only used when file_format is excel. |
-| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
-| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
-| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
-| schema | Config | No | - | Please check #schema below |
-| compress_codec | String | No | None | The compress codec of files and the details that supported as the following shown: <br/> - txt: `lzo` `None` <br/> - json: `lzo` `None` <br/> - csv: `lzo` `None` <br/> - orc: `lzo` `snappy` `lz4` `zlib` `None` <br/> - parquet: `lzo` `snappy` `lz4` `gzip` `brotli` `zstd` `None` <br/> Tips: excel type does Not support any compression format |
-| archive_compress_codec | string | no | none |
-| encoding | string | no | UTF-8 |
-| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
-| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
-| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
-| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
-| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| Name | Type | Required | default value | Description |
+|----------------------------|---------|----------|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| host | String | Yes | - | The target sftp host is required |
+| port | Int | Yes | - | The target sftp port is required |
+| user | String | Yes | - | The target sftp username is required |
+| password | String | Yes | - | The target sftp password is required |
+| path | String | Yes | - | The source file path. |
+| file_format_type | String | Yes | - | Please check #file_format_type below |
+| file_filter_pattern | String | No | - | Filter pattern, which used for filtering files. |
+| filename_extension | string | no | - | Filter filename extension, which used for filtering files with specific extension. Example: `csv` `.txt` `json` `.xml`. |
+| delimiter/field_delimiter | String | No | \001 for text and ',' for csv | **delimiter** parameter will deprecate after version 2.3.5, please use **field_delimiter** instead. <br/> Field delimiter, used to tell connector how to slice and dice fields when reading text files. <br/> Default `\001`, the same as hive's default delimiter |
+| row_delimiter | string | no | \n | Row delimiter, used to tell connector how to slice and dice rows when reading text files. <br/> Default `\n` |
+| parse_partition_from_path | Boolean | No | true | Control whether parse the partition keys and values from file path <br/> For example if you read a file from path `oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26` <br/> Every record data from file will be added these two fields: <br/> name age <br/> tyrantlucifer 26 <br/> Tips: **Do not define partition fields in schema option** |
+| date_format | String | No | yyyy-MM-dd | Date type format, used to tell connector how to convert string to date, supported as the following formats: <br/> `yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` <br/> default `yyyy-MM-dd` |
+| datetime_format | String | No | yyyy-MM-dd HH:mm:ss | Datetime type format, used to tell connector how to convert string to datetime, supported as the following formats: <br/> `yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` <br/> default `yyyy-MM-dd HH:mm:ss` |
+| time_format | String | No | HH:mm:ss | Time type format, used to tell connector how to convert string to time, supported as the following formats: <br/> `HH:mm:ss` `HH:mm:ss.SSS` <br/> default `HH:mm:ss` |
+| skip_header_row_number | Long | No | 0 | Skip the first few lines, but only for the txt and csv. <br/> For example, set like following: <br/> `skip_header_row_number = 2` <br/> then SeaTunnel will skip the first 2 lines from source files |
+| read_columns | list | no | - | The read column list of the data source, user can use it to implement field projection. |
+| sheet_name | String | No | - | Reader the sheet of the workbook,Only used when file_format is excel. |
+| xml_row_tag | string | no | - | Specifies the tag name of the data rows within the XML file, only used when file_format is xml. |
+| xml_use_attr_format | boolean | no | - | Specifies whether to process data using the tag attribute format, only used when file_format is xml. |
+| csv_use_header_line | boolean | no | false | Whether to use the header line to parse the file, only used when the file_format is `csv` and the file contains the header line that match RFC 4180 |
+| schema | Config | No | - | Please check #schema below |
+| compress_codec | String | No | None | The compress codec of files and the details that supported as the following shown: <br/> - txt: `lzo` `None` <br/> - json: `lzo` `None` <br/> - csv: `lzo` `None` <br/> - orc: `lzo` `snappy` `lz4` `zlib` `None` <br/> - parquet: `lzo` `snappy` `lz4` `gzip` `brotli` `zstd` `None` <br/> Tips: excel type does Not support any compression format |
+| archive_compress_codec | string | no | none |
+| encoding | string | no | UTF-8 |
+| null_format | string | no | - | Only used when file_format_type is text. null_format to define which strings can be represented as null. e.g: `\N` |
+| 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 into chunks. When enabled, the entire file content will be read into memory at once. Default is false. |
+| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](../source-common-options.md) for details. |
+| file_filter_modified_start | string | no | - | File modification time filter. The connector will filter some files base on the last modification start time (include start time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
+| file_filter_modified_end | string | no | - | File modification time filter. The connector will filter some files base on the last modification end time (not include end time). The default data format is `yyyy-MM-dd HH:mm:ss`. |
### file_filter_pattern [string]
diff --git a/docs/zh/connector-v2/source/CosFile.md b/docs/zh/connector-v2/source/CosFile.md
index dfa3f30e0f..5f26a7f70a 100644
--- a/docs/zh/connector-v2/source/CosFile.md
+++ b/docs/zh/connector-v2/source/CosFile.md
@@ -52,36 +52,36 @@ import ChangeLog from '../changelog/connector-file-cos.md';
## 选项
-| 名称 | 类型 | 必需 | 默认值 |
-|---------------------------|---------|----|---------------------|
-| path | string | 是 | - |
-| file_format_type | string | 是 | - |
-| bucket | string | 是 | - |
-| secret_id | string | 是 | - |
-| secret_key | string | 是 | - |
-| region | string | 是 | - |
-| read_columns | list | 是 | - |
-| delimiter/field_delimiter | string | 否 | \001 |
-| row_delimiter | string | 否 | \n |
-| parse_partition_from_path | boolean | 否 | true |
-| skip_header_row_number | long | 否 | 0 |
-| date_format | string | 否 | yyyy-MM-dd |
-| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss |
-| time_format | string | 否 | HH:mm:ss |
-| schema | config | 否 | - |
-| sheet_name | string | 否 | - |
-| xml_row_tag | string | 否 | - |
-| xml_use_attr_format | boolean | 否 | - |
-| csv_use_header_line | boolean | 否 | false |
-| file_filter_pattern | string | 否 | |
-| compress_codec | string | 否 | none |
-| archive_compress_codec | string | 否 | none |
-| encoding | string | 否 | UTF-8 |
-| binary_chunk_size | int | 否 | 1024 |
-| binary_complete_file_mode | boolean | 否 | false |
-| common-options | | 否 | - |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| 名称 | 类型 | 必需 | 默认值 |
+|----------------------------|---------|----|---------------------|
+| path | string | 是 | - |
+| file_format_type | string | 是 | - |
+| bucket | string | 是 | - |
+| secret_id | string | 是 | - |
+| secret_key | string | 是 | - |
+| region | string | 是 | - |
+| read_columns | list | 是 | - |
+| delimiter/field_delimiter | string | 否 | \001 |
+| row_delimiter | string | 否 | \n |
+| parse_partition_from_path | boolean | 否 | true |
+| skip_header_row_number | long | 否 | 0 |
+| date_format | string | 否 | yyyy-MM-dd |
+| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss |
+| time_format | string | 否 | HH:mm:ss |
+| schema | config | 否 | - |
+| sheet_name | string | 否 | - |
+| xml_row_tag | string | 否 | - |
+| xml_use_attr_format | boolean | 否 | - |
+| csv_use_header_line | boolean | 否 | false |
+| file_filter_pattern | string | 否 | |
+| compress_codec | string | 否 | none |
+| archive_compress_codec | string | 否 | none |
+| encoding | string | 否 | UTF-8 |
+| binary_chunk_size | int | 否 | 1024 |
+| binary_complete_file_mode | boolean | 否 | false |
+| common-options | | 否 | - |
+| file_filter_modified_start | string | 否 | - |
+| file_filter_modified_end | string | 否 | - |
### path [string]
@@ -403,6 +403,14 @@ default `HH:mm:ss`
是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为 false。
+### file_filter_modified_start
+
+按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
+### file_filter_modified_end
+
+按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
### common options
源插件常用参数,详见[源端通用选项](../Source-common-Options.md)。
diff --git a/docs/zh/connector-v2/source/FtpFile.md b/docs/zh/connector-v2/source/FtpFile.md
index c19e693390..ee6d3ab325 100644
--- a/docs/zh/connector-v2/source/FtpFile.md
+++ b/docs/zh/connector-v2/source/FtpFile.md
@@ -73,8 +73,8 @@ import ChangeLog from '../changelog/connector-file-ftp.md';
| binary_chunk_size | int | 否 | 1024 |
| binary_complete_file_mode | boolean | 否 | false |
| common-options | | 否 | - |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| file_filter_modified_start | string | 否 | - |
+| file_filter_modified_end | string | 否 | - |
### host [string]
@@ -394,6 +394,14 @@ SeaTunnel 将从源文件中跳过前 2 行。
是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为 false。
+### file_filter_modified_start
+
+按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
+### file_filter_modified_end
+
+按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
### 通用选项
源插件的通用参数,详情请参考 [源通用选项](../source-common-options.md)。
diff --git a/docs/zh/connector-v2/source/HdfsFile.md b/docs/zh/connector-v2/source/HdfsFile.md
index 4dd2e457c3..0c9bc29153 100644
--- a/docs/zh/connector-v2/source/HdfsFile.md
+++ b/docs/zh/connector-v2/source/HdfsFile.md
@@ -49,40 +49,40 @@ import ChangeLog from '../changelog/connector-file-hadoop.md';
## 数据源选项
-| 名称 | 类型 | 是否必须 | 默认值 | 描述 |
-|---------------------------|---------|----------|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| path | string | 是 | - | 源文件路径。 |
-| file_format_type | string | 是 | - | 我们支持以下文件类型:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown`。请注意,最终文件名将以文件格式的后缀结束,文本文件的后缀是 `txt`。 |
-| fs.defaultFS | string | 是 | - | 以 `hdfs://` 开头的 hadoop 集群地址,例如:`hdfs://hadoopcluster` |
-| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。支持列投影的文件类型如下所示:[text,json,csv,orc,parquet,excel,xml]。提示:如果用户想在读取 `text` `json` `csv` 文件时使用此功能,必须配置 schema 选项。 |
-| hdfs_site_path | string | 否 | - | `hdfs-site.xml` 的路径,用于加载 namenodes 的 ha 配置 |
-| delimiter/field_delimiter | string | 否 | \001 | 字段分隔符,用于告诉连接器在读取文本文件时如何分割字段。默认 `\001`,与 hive 的默认分隔符相同 |
-| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何分割行。默认 `\n`。 |
-| parse_partition_from_path | boolean | 否 | true | 控制是否从文件路径解析分区键和值。例如,如果您从路径 `hdfs://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26` 读取文件。文件中的每条记录数据都将添加这两个字段:[name:tyrantlucifer,age:26]。提示:不要在 schema 选项中定义分区字段。 |
-| date_format | string | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` 默认 `yyyy-MM-dd`。日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` 默认 `yyyy-MM-dd` |
-| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss`。默认 `yyyy-MM-dd HH:mm:ss` |
-| time_format | string | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:`HH:mm:ss` `HH:mm:ss.SSS`。默认 `HH:mm:ss` |
-| remote_user | string | 否 | - | 用于连接到 hadoop 登录名的登录用户。它旨在用于 RPC 中的远程用户,不会有任何凭据。 |
-| krb5_path | string | 否 | /etc/krb5.conf | kerberos 的 krb5 路径 |
-| kerberos_principal | string | 否 | - | kerberos 的主体 |
-| kerberos_keytab_path | string | 否 | - | kerberos 的 keytab 路径 |
-| skip_header_row_number | long | 否 | 0 | 跳过前几行,但仅适用于 txt 和 csv。例如,设置如下:`skip_header_row_number = 2`。然后 Seatunnel 将跳过源文件的前 2 行 |
-| schema | config | 否 | - | 上游数据的 schema 字段 |
-| sheet_name | string | 否 | - | 读取工作簿的工作表,仅在 file_format 为 excel 时使用。 |
-| xml_row_tag | string | 否 | - | 指定 XML 文件中数据行的标签名称,仅在 file_format 为 xml 时使用。 |
-| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在 file_format 为 xml 时使用。 |
-| csv_use_header_line | boolean | 否 | false | 是否使用标题行解析文件,仅在 file_format 为 `csv` 且文件包含符合 RFC 4180 的标题行时使用 |
-| file_filter_pattern | string | 否 | | 过滤模式,用于过滤文件。 |
-| filename_extension | string | 否 | - | 过滤文件扩展名,用于过滤具有特定扩展名的文件。示例:`csv` `.txt` `json` `.xml`。 |
-| compress_codec | string | 否 | none | 文件的压缩编解码器 |
-| archive_compress_codec | string | 否 | none |
-| encoding | string | 否 | UTF-8 | |
-| null_format | string | 否 | - | 仅在 file_format_type 为 text 时使用。null_format 定义哪些字符串可以表示为 null。例如:`\N` |
-| binary_chunk_size | int | 否 | 1024 | 仅在 file_format_type 为 binary 时使用。读取二进制文件的块大小(以字节为单位)。默认为 1024 字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
-| binary_complete_file_mode | boolean | 否 | false | 仅在 file_format_type 为 binary 时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为 false。 |
-| common-options | | 否 | - | 数据源插件通用参数,请参阅 [数据源通用选项](../source-common-options.md) 了解详情。 |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| 名称 | 类型 | 是否必须 | 默认值 | 描述 |
+|----------------------------|---------|------|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| path | string | 是 | - | 源文件路径。 |
+| file_format_type | string | 是 | - | 我们支持以下文件类型:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown`。请注意,最终文件名将以文件格式的后缀结束,文本文件的后缀是 `txt`。 |
+| fs.defaultFS | string | 是 | - | 以 `hdfs://` 开头的 hadoop 集群地址,例如:`hdfs://hadoopcluster` |
+| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。支持列投影的文件类型如下所示:[text,json,csv,orc,parquet,excel,xml]。提示:如果用户想在读取 `text` `json` `csv` 文件时使用此功能,必须配置 schema 选项。 |
+| hdfs_site_path | string | 否 | - | `hdfs-site.xml` 的路径,用于加载 namenodes 的 ha 配置 |
+| delimiter/field_delimiter | string | 否 | \001 | 字段分隔符,用于告诉连接器在读取文本文件时如何分割字段。默认 `\001`,与 hive 的默认分隔符相同 |
+| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何分割行。默认 `\n`。 |
+| parse_partition_from_path | boolean | 否 | true | 控制是否从文件路径解析分区键和值。例如,如果您从路径 `hdfs://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26` 读取文件。文件中的每条记录数据都将添加这两个字段:[name:tyrantlucifer,age:26]。提示:不要在 schema 选项中定义分区字段。 |
+| date_format | string | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` 默认 `yyyy-MM-dd`。日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` 默认 `yyyy-MM-dd` |
+| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss`。默认 `yyyy-MM-dd HH:mm:ss` |
+| time_format | string | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:`HH:mm:ss` `HH:mm:ss.SSS`。默认 `HH:mm:ss` |
+| remote_user | string | 否 | - | 用于连接到 hadoop 登录名的登录用户。它旨在用于 RPC 中的远程用户,不会有任何凭据。 |
+| krb5_path | string | 否 | /etc/krb5.conf | kerberos 的 krb5 路径 |
+| kerberos_principal | string | 否 | - | kerberos 的主体 |
+| kerberos_keytab_path | string | 否 | - | kerberos 的 keytab 路径 |
+| skip_header_row_number | long | 否 | 0 | 跳过前几行,但仅适用于 txt 和 csv。例如,设置如下:`skip_header_row_number = 2`。然后 Seatunnel 将跳过源文件的前 2 行 |
+| schema | config | 否 | - | 上游数据的 schema 字段 |
+| sheet_name | string | 否 | - | 读取工作簿的工作表,仅在 file_format 为 excel 时使用。 |
+| xml_row_tag | string | 否 | - | 指定 XML 文件中数据行的标签名称,仅在 file_format 为 xml 时使用。 |
+| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在 file_format 为 xml 时使用。 |
+| csv_use_header_line | boolean | 否 | false | 是否使用标题行解析文件,仅在 file_format 为 `csv` 且文件包含符合 RFC 4180 的标题行时使用 |
+| file_filter_pattern | string | 否 | | 过滤模式,用于过滤文件。 |
+| filename_extension | string | 否 | - | 过滤文件扩展名,用于过滤具有特定扩展名的文件。示例:`csv` `.txt` `json` `.xml`。 |
+| compress_codec | string | 否 | none | 文件的压缩编解码器 |
+| archive_compress_codec | string | 否 | none |
+| encoding | string | 否 | UTF-8 | |
+| null_format | string | 否 | - | 仅在 file_format_type 为 text 时使用。null_format 定义哪些字符串可以表示为 null。例如:`\N` |
+| binary_chunk_size | int | 否 | 1024 | 仅在 file_format_type 为 binary 时使用。读取二进制文件的块大小(以字节为单位)。默认为 1024 字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
+| binary_complete_file_mode | boolean | 否 | false | 仅在 file_format_type 为 binary 时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为 false。 |
+| common-options | | 否 | - | 数据源插件通用参数,请参阅 [数据源通用选项](../source-common-options.md) 了解详情。 |
+| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
### file_format_type [string]
diff --git a/docs/zh/connector-v2/source/LocalFile.md b/docs/zh/connector-v2/source/LocalFile.md
index cbb14fcb23..752ea87de1 100644
--- a/docs/zh/connector-v2/source/LocalFile.md
+++ b/docs/zh/connector-v2/source/LocalFile.md
@@ -50,36 +50,36 @@ import ChangeLog from '../changelog/connector-file-local.md';
## 选项
-| 名称 | 类型 | 是否必须 | 默认值 |
-|---------------------------|---------|------|---------------------|
-| path | string | 是 | - |
-| file_format_type | string | 是 | - |
-| read_columns | list | 否 | - |
-| delimiter/field_delimiter | string | 否 | \001 |
-| row_delimiter | string | 否 | \n |
-| parse_partition_from_path | boolean | 否 | true |
-| date_format | string | 否 | yyyy-MM-dd |
-| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss |
-| time_format | string | 否 | HH:mm:ss |
-| skip_header_row_number | long | 否 | 0 |
-| schema | config | 否 | - |
-| sheet_name | string | 否 | - |
-| excel_engine | string | 否 | POI |
-| xml_row_tag | string | 否 | - |
-| xml_use_attr_format | boolean | 否 | - |
-| csv_use_header_line | boolean | 否 | false |
-| file_filter_pattern | string | 否 | - |
-| filename_extension | string | 否 | - |
-| compress_codec | string | 否 | none |
-| archive_compress_codec | string | 否 | none |
-| encoding | string | 否 | UTF-8 |
-| null_format | string | 否 | - |
-| binary_chunk_size | int | 否 | 1024 |
-| binary_complete_file_mode | boolean | 否 | false |
-| common-options | | 否 | - |
-| tables_configs | list | 否 | 用于定义多表任务 |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| 名称 | 类型 | 是否必须 | 默认值 |
+|----------------------------|---------|------|---------------------|
+| path | string | 是 | - |
+| file_format_type | string | 是 | - |
+| read_columns | list | 否 | - |
+| delimiter/field_delimiter | string | 否 | \001 |
+| row_delimiter | string | 否 | \n |
+| parse_partition_from_path | boolean | 否 | true |
+| date_format | string | 否 | yyyy-MM-dd |
+| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss |
+| time_format | string | 否 | HH:mm:ss |
+| skip_header_row_number | long | 否 | 0 |
+| schema | config | 否 | - |
+| sheet_name | string | 否 | - |
+| excel_engine | string | 否 | POI |
+| xml_row_tag | string | 否 | - |
+| xml_use_attr_format | boolean | 否 | - |
+| csv_use_header_line | boolean | 否 | false |
+| file_filter_pattern | string | 否 | - |
+| filename_extension | string | 否 | - |
+| compress_codec | string | 否 | none |
+| archive_compress_codec | string | 否 | none |
+| encoding | string | 否 | UTF-8 |
+| null_format | string | 否 | - |
+| binary_chunk_size | int | 否 | 1024 |
+| binary_complete_file_mode | boolean | 否 | false |
+| common-options | | 否 | - |
+| tables_configs | list | 否 | 用于定义多表任务 |
+| file_filter_modified_start | string | 否 | - |
+| file_filter_modified_end | string | 否 | - |
### path [string]
@@ -407,6 +407,14 @@ null_format 定义哪些字符串可以表示为 null。
是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为 false。
+### file_filter_modified_start
+
+按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
+### file_filter_modified_end
+
+按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss`。
+
### 通用选项
数据源插件通用参数,请参阅 [数据源通用选项](../source-common-options.md) 了解详情
diff --git a/docs/zh/connector-v2/source/OssFile.md b/docs/zh/connector-v2/source/OssFile.md
index 91657ae1bd..a7fa405586 100644
--- a/docs/zh/connector-v2/source/OssFile.md
+++ b/docs/zh/connector-v2/source/OssFile.md
@@ -183,37 +183,37 @@ schema {
## 选项
-| 名称 | 类型 | 是否必需 | 默认值 | 描述 |
-|---------------------------|---------|----------|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| path | string | 是 | - | 需要读取的Oss路径,可以有子路径,但子路径需要满足一定的格式要求。具体要求可以参考"parse_partition_from_path"选项 |
-| file_format_type | string | 是 | - | 文件类型,支持以下文件类型:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown` |
-| bucket | string | 是 | - | oss文件系统的bucket地址,例如:`oss://seatunnel-test`。 |
-| endpoint | string | 是 | - | fs oss端点 |
-| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。支持列投影的文件类型如下所示:`text` `csv` `parquet` `orc` `json` `excel` `xml`。如果用户想在读取`text` `json` `csv`文件时使用此功能,必须配置"schema"选项。 |
-| access_key | string | 否 | - | |
-| access_secret | string | 否 | - | |
-| delimiter | string | 否 | \001 | 字段分隔符,用于告诉连接器在读取文本文件时如何切分字段。默认`\001`,与hive的默认分隔符相同。 |
-| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何切分行。默认`\n`。 |
-| parse_partition_from_path | boolean | 否 | true | 控制是否从文件路径解析分区键和值。例如,如果您从路径`oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`读取文件。文件中的每条记录数据都将添加这两个字段:name="tyrantlucifer",age=16 |
-| date_format | string | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd`。默认`yyyy-MM-dd` |
-| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` |
-| time_format | string | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:`HH:mm:ss` `HH:mm:ss.SSS` |
-| filename_extension | string | 否 | - | 过滤文件名扩展名,用于过滤具有特定扩展名的文件。例如:`csv` `.txt` `json` `.xml`。 |
-| skip_header_row_number | long | 否 | 0 | 跳过前几行,但仅适用于txt和csv。例如,设置如下:`skip_header_row_number = 2`。然后SeaTunnel将跳过源文件的前2行 |
-| csv_use_header_line | boolean | 否 | false | 是否使用标题行来解析文件,仅在file_format为`csv`且文件包含符合RFC 4180的标题行时使用 |
-| schema | config | 否 | - | 上游数据的schema。 |
-| sheet_name | string | 否 | - | 读取工作簿的工作表,仅在file_format为excel时使用。 |
-| xml_row_tag | string | 否 | - | 指定XML文件中数据行的标签名称,仅在file_format为xml时使用。 |
-| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在file_format为xml时使用。 |
-| compress_codec | string | 否 | none | 文件使用的压缩编解码器。 |
-| encoding | string | 否 | UTF-8 |
-| null_format | string | 否 | - | 仅在file_format_type为text时使用。null_format用于定义哪些字符串可以表示为null。例如:`\N` |
-| binary_chunk_size | int | 否 | 1024 | 仅在file_format_type为binary时使用。读取二进制文件的块大小(以字节为单位)。默认为1024字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
-| binary_complete_file_mode | boolean | 否 | false | 仅在file_format_type为binary时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为false。 |
-| file_filter_pattern | string | 否 | | 过滤模式,用于过滤文件。 |
-| common-options | config | 否 | - | 数据源插件通用参数,请参考[数据源通用选项](../source-common-options.md)了解详情。 |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| 名称 | 类型 | 是否必需 | 默认值 | 描述 |
+|----------------------------|---------|------|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
+| path | string | 是 | - | 需要读取的Oss路径,可以有子路径,但子路径需要满足一定的格式要求。具体要求可以参考"parse_partition_from_path"选项 |
+| file_format_type | string | 是 | - | 文件类型,支持以下文件类型:`text` `csv` `parquet` `orc` `json` `excel` `xml` `binary` `markdown` |
+| bucket | string | 是 | - | oss文件系统的bucket地址,例如:`oss://seatunnel-test`。 |
+| endpoint | string | 是 | - | fs oss端点 |
+| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。支持列投影的文件类型如下所示:`text` `csv` `parquet` `orc` `json` `excel` `xml`。如果用户想在读取`text` `json` `csv`文件时使用此功能,必须配置"schema"选项。 |
+| access_key | string | 否 | - | |
+| access_secret | string | 否 | - | |
+| delimiter | string | 否 | \001 | 字段分隔符,用于告诉连接器在读取文本文件时如何切分字段。默认`\001`,与hive的默认分隔符相同。 |
+| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何切分行。默认`\n`。 |
+| parse_partition_from_path | boolean | 否 | true | 控制是否从文件路径解析分区键和值。例如,如果您从路径`oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`读取文件。文件中的每条记录数据都将添加这两个字段:name="tyrantlucifer",age=16 |
+| date_format | string | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:`yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd`。默认`yyyy-MM-dd` |
+| datetime_format | string | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:`yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` |
+| time_format | string | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:`HH:mm:ss` `HH:mm:ss.SSS` |
+| filename_extension | string | 否 | - | 过滤文件名扩展名,用于过滤具有特定扩展名的文件。例如:`csv` `.txt` `json` `.xml`。 |
+| skip_header_row_number | long | 否 | 0 | 跳过前几行,但仅适用于txt和csv。例如,设置如下:`skip_header_row_number = 2`。然后SeaTunnel将跳过源文件的前2行 |
+| csv_use_header_line | boolean | 否 | false | 是否使用标题行来解析文件,仅在file_format为`csv`且文件包含符合RFC 4180的标题行时使用 |
+| schema | config | 否 | - | 上游数据的schema。 |
+| sheet_name | string | 否 | - | 读取工作簿的工作表,仅在file_format为excel时使用。 |
+| xml_row_tag | string | 否 | - | 指定XML文件中数据行的标签名称,仅在file_format为xml时使用。 |
+| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在file_format为xml时使用。 |
+| compress_codec | string | 否 | none | 文件使用的压缩编解码器。 |
+| encoding | string | 否 | UTF-8 |
+| null_format | string | 否 | - | 仅在file_format_type为text时使用。null_format用于定义哪些字符串可以表示为null。例如:`\N` |
+| binary_chunk_size | int | 否 | 1024 | 仅在file_format_type为binary时使用。读取二进制文件的块大小(以字节为单位)。默认为1024字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
+| binary_complete_file_mode | boolean | 否 | false | 仅在file_format_type为binary时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为false。 |
+| file_filter_pattern | string | 否 | | 过滤模式,用于过滤文件。 |
+| common-options | config | 否 | - | 数据源插件通用参数,请参考[数据源通用选项](../source-common-options.md)了解详情。 |
+| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
### compress_codec [string]
diff --git a/docs/zh/connector-v2/source/SftpFile.md b/docs/zh/connector-v2/source/SftpFile.md
index 7dbe5ea375..e48f4e81c5 100644
--- a/docs/zh/connector-v2/source/SftpFile.md
+++ b/docs/zh/connector-v2/source/SftpFile.md
@@ -78,38 +78,38 @@ import ChangeLog from '../changelog/connector-file-sftp.md';
## 数据源选项
-| 名称 | 类型 | 是否必需 | 默认值 | 描述 |
-|---------------------------|---------|------|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| host | String | 是 | - | 目标sftp主机是必需的 |
-| port | Int | 是 | - | 目标sftp端口是必需的 |
-| user | String | 是 | - | 目标sftp用户名是必需的 |
-| password | String | 是 | - | 目标sftp密码是必需的 |
-| path | String | 是 | - | 源文件路径。 |
-| file_format_type | String | 是 | - | 请查看下面的#file_format_type |
-| file_filter_pattern | String | 否 | - | 过滤模式,用于过滤文件。 |
-| filename_extension | string | 否 | - | 过滤文件名扩展名,用于过滤具有特定扩展名的文件。例如:`csv` `.txt` `json` `.xml`。 |
-| delimiter/field_delimiter | String | 否 | \001 | **delimiter**参数将在2.3.5版本后弃用,请使用**field_delimiter**代替。<br/> 字段分隔符,用于告诉连接器在读取文本文件时如何切分字段。<br/> 默认`\001`,与hive的默认分隔符相同 |
-| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何切分行。<br/> 默认`\n`。 | [...]
-| parse_partition_from_path | Boolean | 否 | true | 控制是否从文件路径解析分区键和值<br/> 例如,如果您从路径`oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`读取文件<br/> 文件中的每条记录数据都将添加这两个字段:<br/> name age <br/> tyrantlucifer 26 <br/> 提示:**不要在schema选项中定义分区字段** |
-| date_format | String | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:<br/> `yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` <br/> 默认`yyyy-MM-dd` |
-| datetime_format | String | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:<br/> `yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` <br/> 默认`yyyy-MM-dd HH:mm:ss` |
-| time_format | String | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:<br/> `HH:mm:ss` `HH:mm:ss.SSS` <br/> 默认`HH:mm:ss` |
-| skip_header_row_number | Long | 否 | 0 | 跳过前几行,但仅适用于txt和csv。<br/> 例如,设置如下:<br/> `skip_header_row_number = 2` <br/> 然后SeaTunnel将跳过源文件的前2行 |
-| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。 |
-| sheet_name | String | 否 | - | 读取工作簿的工作表,仅在file_format为excel时使用。 |
-| xml_row_tag | string | 否 | - | 指定XML文件中数据行的标签名称,仅在file_format为xml时使用。 |
-| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在file_format为xml时使用。 |
-| csv_use_header_line | boolean | 否 | false | 是否使用标题行来解析文件,仅在file_format为`csv`且文件包含符合RFC 4180的标题行时使用 |
-| schema | Config | 否 | - | 请查看下面的#schema |
-| compress_codec | String | 否 | None | 文件的压缩编解码器,支持的详细信息如下所示:<br/> - txt: `lzo` `None` <br/> - json: `lzo` `None` <br/> - csv: `lzo` `None` <br/> - orc: `lzo` `snappy` `lz4` `zlib` `None` <br/> - parquet: `lzo` `snappy` `lz4` `gzip` `brotli` `zstd` `None` <br/> 提示:excel类型不支持任何压缩格式 |
-| archive_compress_codec | string | 否 | none |
-| encoding | string | 否 | UTF-8 |
-| null_format | string | 否 | - | 仅在file_format_type为text时使用。null_format用于定义哪些字符串可以表示为null。例如:`\N` |
-| binary_chunk_size | int | 否 | 1024 | 仅在file_format_type为binary时使用。读取二进制文件的块大小(以字节为单位)。默认为1024字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
-| binary_complete_file_mode | boolean | 否 | false | 仅在file_format_type为binary时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为false。 |
-| common-options | | 否 | - | 数据源插件通用参数,请参考[数据源通用选项](../source-common-options.md)了解详情。 |
-| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
-| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| 名称 | 类型 | 是否必需 | 默认值 | 描述 |
+|----------------------------|---------|------|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| host | String | 是 | - | 目标sftp主机是必需的 |
+| port | Int | 是 | - | 目标sftp端口是必需的 |
+| user | String | 是 | - | 目标sftp用户名是必需的 |
+| password | String | 是 | - | 目标sftp密码是必需的 |
+| path | String | 是 | - | 源文件路径。 |
+| file_format_type | String | 是 | - | 请查看下面的#file_format_type |
+| file_filter_pattern | String | 否 | - | 过滤模式,用于过滤文件。 |
+| filename_extension | string | 否 | - | 过滤文件名扩展名,用于过滤具有特定扩展名的文件。例如:`csv` `.txt` `json` `.xml`。 |
+| delimiter/field_delimiter | String | 否 | \001 | **delimiter**参数将在2.3.5版本后弃用,请使用**field_delimiter**代替。<br/> 字段分隔符,用于告诉连接器在读取文本文件时如何切分字段。<br/> 默认`\001`,与hive的默认分隔符相同 |
+| row_delimiter | string | 否 | \n | 行分隔符,用于告诉连接器在读取文本文件时如何切分行。<br/> 默认`\n`。 | [...]
+| parse_partition_from_path | Boolean | 否 | true | 控制是否从文件路径解析分区键和值<br/> 例如,如果您从路径`oss://hadoop-cluster/tmp/seatunnel/parquet/name=tyrantlucifer/age=26`读取文件<br/> 文件中的每条记录数据都将添加这两个字段:<br/> name age <br/> tyrantlucifer 26 <br/> 提示:**不要在schema选项中定义分区字段** |
+| date_format | String | 否 | yyyy-MM-dd | 日期类型格式,用于告诉连接器如何将字符串转换为日期,支持以下格式:<br/> `yyyy-MM-dd` `yyyy.MM.dd` `yyyy/MM/dd` <br/> 默认`yyyy-MM-dd` |
+| datetime_format | String | 否 | yyyy-MM-dd HH:mm:ss | 日期时间类型格式,用于告诉连接器如何将字符串转换为日期时间,支持以下格式:<br/> `yyyy-MM-dd HH:mm:ss` `yyyy.MM.dd HH:mm:ss` `yyyy/MM/dd HH:mm:ss` `yyyyMMddHHmmss` <br/> 默认`yyyy-MM-dd HH:mm:ss` |
+| time_format | String | 否 | HH:mm:ss | 时间类型格式,用于告诉连接器如何将字符串转换为时间,支持以下格式:<br/> `HH:mm:ss` `HH:mm:ss.SSS` <br/> 默认`HH:mm:ss` |
+| skip_header_row_number | Long | 否 | 0 | 跳过前几行,但仅适用于txt和csv。<br/> 例如,设置如下:<br/> `skip_header_row_number = 2` <br/> 然后SeaTunnel将跳过源文件的前2行 |
+| read_columns | list | 否 | - | 数据源的读取列列表,用户可以使用它来实现字段投影。 |
+| sheet_name | String | 否 | - | 读取工作簿的工作表,仅在file_format为excel时使用。 |
+| xml_row_tag | string | 否 | - | 指定XML文件中数据行的标签名称,仅在file_format为xml时使用。 |
+| xml_use_attr_format | boolean | 否 | - | 指定是否使用标签属性格式处理数据,仅在file_format为xml时使用。 |
+| csv_use_header_line | boolean | 否 | false | 是否使用标题行来解析文件,仅在file_format为`csv`且文件包含符合RFC 4180的标题行时使用 |
+| schema | Config | 否 | - | 请查看下面的#schema |
+| compress_codec | String | 否 | None | 文件的压缩编解码器,支持的详细信息如下所示:<br/> - txt: `lzo` `None` <br/> - json: `lzo` `None` <br/> - csv: `lzo` `None` <br/> - orc: `lzo` `snappy` `lz4` `zlib` `None` <br/> - parquet: `lzo` `snappy` `lz4` `gzip` `brotli` `zstd` `None` <br/> 提示:excel类型不支持任何压缩格式 |
+| archive_compress_codec | string | 否 | none |
+| encoding | string | 否 | UTF-8 |
+| null_format | string | 否 | - | 仅在file_format_type为text时使用。null_format用于定义哪些字符串可以表示为null。例如:`\N` |
+| binary_chunk_size | int | 否 | 1024 | 仅在file_format_type为binary时使用。读取二进制文件的块大小(以字节为单位)。默认为1024字节。较大的值可能会提高大文件的性能,但会使用更多内存。 |
+| binary_complete_file_mode | boolean | 否 | false | 仅在file_format_type为binary时使用。是否将完整文件作为单个块读取,而不是分割成块。启用时,整个文件内容将一次性读入内存。默认为false。 |
+| common-options | | 否 | - | 数据源插件通用参数,请参考[数据源通用选项](../source-common-options.md)了解详情。 |
+| file_filter_modified_start | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的开始时间(包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
+| file_filter_modified_end | string | 否 | - | 按照最后修改时间过滤文件。 要过滤的结束时间(不包括改时间),时间格式是:`yyyy-MM-dd HH:mm:ss` |
### file_filter_pattern [string]