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/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 6cbc501 [doc] update export.md (#8650)
6cbc501 is described below
commit 6cbc5014b99a77ab6590b05055695a911b3aa5e0
Author: zxm17863626761 <[email protected]>
AuthorDate: Mon Mar 28 10:23:53 2022 +0800
[doc] update export.md (#8650)
"where" should be in front of "to".
---
docs/en/sql-reference/sql-statements/Data Manipulation/EXPORT.md | 4 ++--
docs/zh-CN/sql-reference/sql-statements/Data Manipulation/EXPORT.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/en/sql-reference/sql-statements/Data Manipulation/EXPORT.md
b/docs/en/sql-reference/sql-statements/Data Manipulation/EXPORT.md
index f3e849f..04a0a96 100644
--- a/docs/en/sql-reference/sql-statements/Data Manipulation/EXPORT.md
+++ b/docs/en/sql-reference/sql-statements/Data Manipulation/EXPORT.md
@@ -1,4 +1,4 @@
----
+---
{
"title": "EXPORT",
"language": "en"
@@ -95,7 +95,7 @@ under the License.
EXPORT TABLE testTbl TO "hdfs://hdfs_host:port/a/b/c" PROPERTIES
("label" = "mylabel", "column_separator"=",") WITH BROKER "broker_name"
("username"="xxx", "password"="yyy");
4. Export the row meet condition k1 = 1 in the testTbl table to hdfs.
- EXPORT TABLE testTbl TO "hdfs://hdfs_host:port/a/b/c" WHERE k1=1 WITH
BROKER "broker_name" ("username"="xxx", "password"="yyy");
+ EXPORT TABLE testTbl WHERE k1=1 TO "hdfs://hdfs_host:port/a/b/c" WITH
BROKER "broker_name" ("username"="xxx", "password"="yyy");
5. Export all data in the testTbl table to the local.
EXPORT TABLE testTbl TO "file:///home/data/a";
diff --git a/docs/zh-CN/sql-reference/sql-statements/Data
Manipulation/EXPORT.md b/docs/zh-CN/sql-reference/sql-statements/Data
Manipulation/EXPORT.md
index 6148f0b..c21af09 100644
--- a/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/EXPORT.md
+++ b/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/EXPORT.md
@@ -1,4 +1,4 @@
----
+---
{
"title": "EXPORT",
"language": "zh-CN"
@@ -95,7 +95,7 @@ under the License.
EXPORT TABLE testTbl TO "hdfs://hdfs_host:port/a/b/c" PROPERTIES
("label" = "mylabel", "column_separator"=",") WITH BROKER "broker_name"
("username"="xxx", "password"="yyy");
4. 将 testTbl 表中 k1 = 1 的行导出到 hdfs 上。
- EXPORT TABLE testTbl TO "hdfs://hdfs_host:port/a/b/c" WHERE k1=1 WITH
BROKER "broker_name" ("username"="xxx", "password"="yyy");
+ EXPORT TABLE testTbl WHERE k1=1 TO "hdfs://hdfs_host:port/a/b/c" WITH
BROKER "broker_name" ("username"="xxx", "password"="yyy");
5. 将 testTbl 表中的所有数据导出到本地。
EXPORT TABLE testTbl TO "file:///home/data/a";
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]