You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2023/01/17 00:58:15 UTC

[doris] branch master updated: add host and port in hdfs outfile (#15953)

This is an automated email from the ASF dual-hosted git repository.

jiafengzheng 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 167b1963a7 add host and port in hdfs outfile (#15953)
167b1963a7 is described below

commit 167b1963a750c61e89c7d43e159c30fc53ad46da
Author: lsy3993 <11...@users.noreply.github.com>
AuthorDate: Tue Jan 17 08:58:07 2023 +0800

    add host and port in hdfs outfile (#15953)
---
 .../sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md | 5 +++--
 .../sql-manual/sql-reference/Data-Manipulation-Statements/OUTFILE.md | 5 +++--
 2 files changed, 6 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 d46b2164d7..08cd1eca83 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
@@ -250,11 +250,12 @@ illustrate:
    )
    ````
 
-8. Use hdfs export to export simple query results to the file `hdfs://path/to/result.txt`. Specify the export format as CSV and the user name as work. Specify the column separator as `,` and the row separator as `\n`.
+8. Use hdfs export to export simple query results to the file `hdfs://${host}:${fileSystem_port}/path/to/result.txt`. Specify the export format as CSV and the user name as work. Specify the column separator as `,` and the row separator as `\n`.
 
    ```sql
+   -- the default port of fileSystem_port is 9000
    SELECT * FROM tbl
-   INTO OUTFILE "hdfs://path/to/result_"
+   INTO OUTFILE "hdfs://${host}:${fileSystem_port}/path/to/result_"
    FORMAT AS CSV
    PROPERTIES
    (
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 25b35f5894..ef7bf286e3 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
@@ -253,11 +253,12 @@ INTO OUTFILE "file_path"
     )
     ```
     
-8. 使用 hdfs 方式导出,将简单查询结果导出到文件 `hdfs://path/to/result.txt`。指定导出格式为 CSV,用户名为work。指定列分隔符为 `,`,行分隔符为 `\n`。
+8. 使用 hdfs 方式导出,将简单查询结果导出到文件 `hdfs://${host}:${fileSystem_port}/path/to/result.txt`。指定导出格式为 CSV,用户名为work。指定列分隔符为 `,`,行分隔符为 `\n`。
     
     ```sql
+    -- fileSystem_port默认值为9000
     SELECT * FROM tbl
-    INTO OUTFILE "hdfs://path/to/result_"
+    INTO OUTFILE "hdfs://${host}:${fileSystem_port}/path/to/result_"
     FORMAT AS CSV
     PROPERTIES
     (


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org