This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 6e6f6e6716 Update local.md (#1242) 6e6f6e6716 is described below commit 6e6f6e6716803416d52100381ccbfba23d0b9605 Author: 鲁汀 <131967983+lutin...@users.noreply.github.com> AuthorDate: Thu Nov 7 22:08:47 2024 +0800 Update local.md (#1242) # Versions - [x] dev - [x] 3.0 - [x] 2.1 - [x] 2.0 # Languages - [x] Chinese - [x] English --- docs/sql-manual/sql-functions/table-valued-functions/local.md | 4 ++++ .../current/sql-manual/sql-functions/table-valued-functions/local.md | 3 +++ .../sql-manual/sql-functions/table-valued-functions/local.md | 3 +++ .../sql-manual/sql-functions/table-valued-functions/local.md | 3 +++ .../sql-manual/sql-functions/table-valued-functions/local.md | 3 +++ .../sql-manual/sql-functions/table-valued-functions/local.md | 5 +++++ .../sql-manual/sql-functions/table-valued-functions/local.md | 4 ++++ .../sql-manual/sql-functions/table-valued-functions/local.md | 5 +++++ 8 files changed, 30 insertions(+) diff --git a/docs/sql-manual/sql-functions/table-valued-functions/local.md b/docs/sql-manual/sql-functions/table-valued-functions/local.md index 4f39a8dae7..7c11ae8776 100644 --- a/docs/sql-manual/sql-functions/table-valued-functions/local.md +++ b/docs/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,10 @@ local( - `trim_double_quotes`: Boolean type (optional), the default value is `false`. True means that the outermost double quotes of each field in the csv file are trimmed. - `skip_lines`: Integer type (optional), the default value is 0. It will skip some lines in the head of csv file. It will be disabled when the format is `csv_with_names` or `csv_with_names_and_types`. +- other parameter: + + - `path_partition_keys`: (optional) Specifies the column names carried in the file path. For example, if the file path is /path/to/city=beijing/date="2023-07-09", you should fill in `path_partition_keys="city,date"`. It will automatically read the corresponding column names and values from the path during load process. + ### Examples Analyze the log file on specified BE: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-valued-functions/local.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-valued-functions/local.md index 7a3d945fe6..176f49e0a5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-valued-functions/local.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,9 @@ local( - `trim_double_quotes`: 布尔类型,选填,默认值为 `false`,为 `true` 时表示裁剪掉 csv 文件每个字段最外层的双引号 - `skip_lines`: 整数类型,选填,默认值为0,含义为跳过csv文件的前几行。当设置format设置为 `csv_with_names` 或 `csv_with_names_and_types` 时,该参数会失效 +- 其他参数: + - `path_partition_keys`:(选填)指定文件路径中携带的分区列名,例如 `/path/to/city=beijing/date="2023-07-09"`, 则填写 `path_partition_keys="city,date"`,将会自动从路径中读取相应列名和列值进行导入。 + ### Examples 分析指定 BE 上的日志文件: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md index 7a3d945fe6..176f49e0a5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,9 @@ local( - `trim_double_quotes`: 布尔类型,选填,默认值为 `false`,为 `true` 时表示裁剪掉 csv 文件每个字段最外层的双引号 - `skip_lines`: 整数类型,选填,默认值为0,含义为跳过csv文件的前几行。当设置format设置为 `csv_with_names` 或 `csv_with_names_and_types` 时,该参数会失效 +- 其他参数: + - `path_partition_keys`:(选填)指定文件路径中携带的分区列名,例如 `/path/to/city=beijing/date="2023-07-09"`, 则填写 `path_partition_keys="city,date"`,将会自动从路径中读取相应列名和列值进行导入。 + ### Examples 分析指定 BE 上的日志文件: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md index 7a3d945fe6..176f49e0a5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,9 @@ local( - `trim_double_quotes`: 布尔类型,选填,默认值为 `false`,为 `true` 时表示裁剪掉 csv 文件每个字段最外层的双引号 - `skip_lines`: 整数类型,选填,默认值为0,含义为跳过csv文件的前几行。当设置format设置为 `csv_with_names` 或 `csv_with_names_and_types` 时,该参数会失效 +- 其他参数: + - `path_partition_keys`:(选填)指定文件路径中携带的分区列名,例如 `/path/to/city=beijing/date="2023-07-09"`, 则填写 `path_partition_keys="city,date"`,将会自动从路径中读取相应列名和列值进行导入。 + ### Examples 分析指定 BE 上的日志文件: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md index 7a3d945fe6..176f49e0a5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,9 @@ local( - `trim_double_quotes`: 布尔类型,选填,默认值为 `false`,为 `true` 时表示裁剪掉 csv 文件每个字段最外层的双引号 - `skip_lines`: 整数类型,选填,默认值为0,含义为跳过csv文件的前几行。当设置format设置为 `csv_with_names` 或 `csv_with_names_and_types` 时,该参数会失效 +- 其他参数: + - `path_partition_keys`:(选填)指定文件路径中携带的分区列名,例如 `/path/to/city=beijing/date="2023-07-09"`, 则填写 `path_partition_keys="city,date"`,将会自动从路径中读取相应列名和列值进行导入。 + ### Examples 分析指定 BE 上的日志文件: diff --git a/versioned_docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md b/versioned_docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md index 4f39a8dae7..4d97a1351b 100644 --- a/versioned_docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md +++ b/versioned_docs/version-2.0/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,11 @@ local( - `trim_double_quotes`: Boolean type (optional), the default value is `false`. True means that the outermost double quotes of each field in the csv file are trimmed. - `skip_lines`: Integer type (optional), the default value is 0. It will skip some lines in the head of csv file. It will be disabled when the format is `csv_with_names` or `csv_with_names_and_types`. +- other parameter: + + - `path_partition_keys`: (optional) Specifies the column names carried in the file path. For example, if the file path is /path/to/city=beijing/date="2023-07-09", you should fill in `path_partition_keys="city,date"`. It will automatically read the corresponding column names and values from the path during load process. + + ### Examples Analyze the log file on specified BE: diff --git a/versioned_docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md b/versioned_docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md index 4f39a8dae7..7c11ae8776 100644 --- a/versioned_docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md +++ b/versioned_docs/version-2.1/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,10 @@ local( - `trim_double_quotes`: Boolean type (optional), the default value is `false`. True means that the outermost double quotes of each field in the csv file are trimmed. - `skip_lines`: Integer type (optional), the default value is 0. It will skip some lines in the head of csv file. It will be disabled when the format is `csv_with_names` or `csv_with_names_and_types`. +- other parameter: + + - `path_partition_keys`: (optional) Specifies the column names carried in the file path. For example, if the file path is /path/to/city=beijing/date="2023-07-09", you should fill in `path_partition_keys="city,date"`. It will automatically read the corresponding column names and values from the path during load process. + ### Examples Analyze the log file on specified BE: diff --git a/versioned_docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md b/versioned_docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md index 4f39a8dae7..4d97a1351b 100644 --- a/versioned_docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md +++ b/versioned_docs/version-3.0/sql-manual/sql-functions/table-valued-functions/local.md @@ -95,6 +95,11 @@ local( - `trim_double_quotes`: Boolean type (optional), the default value is `false`. True means that the outermost double quotes of each field in the csv file are trimmed. - `skip_lines`: Integer type (optional), the default value is 0. It will skip some lines in the head of csv file. It will be disabled when the format is `csv_with_names` or `csv_with_names_and_types`. +- other parameter: + + - `path_partition_keys`: (optional) Specifies the column names carried in the file path. For example, if the file path is /path/to/city=beijing/date="2023-07-09", you should fill in `path_partition_keys="city,date"`. It will automatically read the corresponding column names and values from the path during load process. + + ### Examples Analyze the log file on specified BE: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org