This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2457fbd3e0 [typo][doc]modify error description in OUTFILE. (#22715)
2457fbd3e0 is described below
commit 2457fbd3e079891dbaeca91d9850e7a9b9704d5c
Author: ZhenchaoXu <[email protected]>
AuthorDate: Sun Sep 3 14:46:04 2023 +0800
[typo][doc]modify error description in OUTFILE. (#22715)
Co-authored-by: Yongqiang YANG
<[email protected]>
---
.../sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md | 5 +++--
.../sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git
a/docs/en/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
b/docs/en/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
index 8efc9e35d9..bbf98f25f8 100644
---
a/docs/en/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
+++
b/docs/en/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
@@ -64,6 +64,7 @@ illustrate:
```
Specifies the export format. Supported formats include CSV, PARQUET,
CSV_WITH_NAMES, CSV_WITH_NAMES_AND_TYPES and ORC. Default is CSV.
+ > Note: PARQUET, CSV_WITH_NAMES, CSV_WITH_NAMES_AND_TYPES, and ORC are
supported starting in version 1.2 .
3. properties
@@ -75,8 +76,8 @@ illustrate:
The following properties are supported:
File related properties
- column_separator: column separator,is only for CSV format <version
since="1.2.0">Support mulit-bytes, such as: "\\x01", "abc"</version>
- line_delimiter: line delimiter,is only for CSV format <version
since="1.2.0">Support mulit-bytes, such as: "\\x01", "abc"</version>
+ column_separator: column separator,is only for CSV format. mulit-bytes
is supported starting in version 1.2, such as: "\\x01", "abc".
+ line_delimiter: line delimiter,is only for CSV format. mulit-bytes
supported starting in version 1.2, such as: "\\x01", "abc".
max_file_size: the size limit of a single file, if the result exceeds
this value, it will be cut into multiple files, the value range of
max_file_size is [5MB, 2GB] and the default is 1GB. (When specified that the
file format is ORC, the size of the actual division file will be a multiples of
64MB, such as: specify max_file_size = 5MB, and actually use 64MB as the
division; specify max_file_size = 65MB, and will actually use 128MB as cut
division points.)
delete_existing_files: default `false`. If it is specified as true,
you will first delete all files specified in the directory specified by the
file_path, and then export the data to the directory.For example: "file_path" =
"/user/tmp", then delete all files and directory under "/user/"; "file_path" =
"/user/tmp/", then delete all files and directory under "/user/tmp/"
diff --git
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
index 97f009cf28..e6ff227810 100644
---
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
+++
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md
@@ -80,8 +80,8 @@ INTO OUTFILE "file_path"
支持如下属性:
文件相关的属性
- column_separator: 列分隔符,只支持csv格式。<version
since="1.2.0">支持多字节分隔符,如:"\\x01", "abc"</version>
- line_delimiter: 行分隔符,只支持csv格式。<version
since="1.2.0">支持多字节分隔符,如:"\\x01", "abc"</version>
+ column_separator: 列分隔符,只支持csv格式。在 1.2 版本开始支持多字节分隔符,如:"\\x01", "abc"。
+ line_delimiter: 行分隔符,只支持csv格式。在 1.2 版本开始支持多字节分隔符,如:"\\x01", "abc"。
max_file_size: 单个文件大小限制,如果结果超过这个值,将切割成多个文件, max_file_size取值范围是[5MB,
2GB], 默认为1GB。(当指定导出为orc文件格式时,实际切分文件的大小将是64MB的倍数,如:指定max_file_size = 5MB,
实际将以64MB为切分;指定max_file_size = 65MB, 实际将以128MB为切分)
delete_existing_files:
默认为false,若指定为true,则会先删除file_path指定的目录下的所有文件,然后导出数据到该目录下。例如:"file_path" =
"/user/tmp", 则会删除"/user/"下所有文件及目录;"file_path" = "/user/tmp/",
则会删除"/user/tmp/"下所有文件及目录
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]