EmmyMiao87 commented on a change in pull request #5120:
URL: https://github.com/apache/incubator-doris/pull/5120#discussion_r547698465
##########
File path: docs/zh-CN/administrator-guide/outfile.md
##########
@@ -154,6 +154,32 @@ INTO OUTFILE "file_path"
如果大于 1GB,则可能为 `result_0.parquet, result_1.parquet, ...`。
+4. 示例4
+
+ 将 select 语句的查询结果导出到文件 `cos://${bucket_name}/path/result.txt`。指定导出格式为 csv。
+ ```
+ select k1,k2,v1 from tbl1 limit 100000
+ into outfile "s3a://my_bucket/export/my_file_"
+ FORMAT AS CSV
+ PROPERTIES
+ (
+ "broker.name" = "hdfs_broker",
+ "broker.fs.s3a.access.key" = "xxx",
+ "broker.fs.s3a.secret.key" = "xxxx",
+ "broker.fs.s3a.endpoint" = "https://cos.xxxxxx.myqcloud.com/",
+ "column_separator" = ",",
+ "line_delimiter" = "\n",
+ "max_file_size" = "1000MB"
Review comment:
1024 MB ? OR 1000 MB ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]