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 1d33705 [Doc] Fix some typo, mod routine load doc (#3350) 1d33705 is described below commit 1d3370532b32e898b76a1f246f13bdc18d316dba Author: Stalary <stal...@163.com> AuthorDate: Sun Apr 19 11:39:10 2020 +0800 [Doc] Fix some typo, mod routine load doc (#3350) Fix BOOLEAN typo, improve the routine load sample --- .../sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md | 6 ++++-- .../cn/sql-reference/sql-statements/Data Types/BOOLEAN.md | 2 +- .../en/sql-reference/sql-statements/Data Types/BOOLEAN_EN.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/documentation/cn/sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md b/docs/documentation/cn/sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md index 33c4d59..c7a4f79 100644 --- a/docs/documentation/cn/sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md +++ b/docs/documentation/cn/sql-reference/sql-statements/Data Manipulation/ROUTINE LOAD.md @@ -234,9 +234,10 @@ under the License. NULL值:\N ## example - 1. 为 example_db 的 example_tbl 创建一个名为 test1 的 Kafka 例行导入任务。指定group.id和client.id,并且自动默认消费所有分区,且从末尾(OFFSET_END)开始订阅 + 1. 为 example_db 的 example_tbl 创建一个名为 test1 的 Kafka 例行导入任务。指定列分隔符和 group.id 和 client.id,并且自动默认消费所有分区,且从有数据的位置(OFFSET_BEGINNING)开始订阅 CREATE ROUTINE LOAD example_db.test1 ON example_tbl + COLUMNS TERMINATED BY ",", COLUMNS(k1, k2, k3, v1, v2, v3 = k1 * 100) PROPERTIES ( @@ -251,7 +252,8 @@ under the License. "kafka_broker_list" = "broker1:9092,broker2:9092,broker3:9092", "kafka_topic" = "my_topic", "property.group.id" = "xxx", - "property.client.id" = "xxx" + "property.client.id" = "xxx", + "property.kafka_default_offsets" = "OFFSET_BEGINNING" ); 2. 为 example_db 的 example_tbl 创建一个名为 test1 的 Kafka 例行导入任务。导入任务为严格模式。 diff --git a/docs/documentation/cn/sql-reference/sql-statements/Data Types/BOOLEAN.md b/docs/documentation/cn/sql-reference/sql-statements/Data Types/BOOLEAN.md index 7da0b7a..b5f46fa 100644 --- a/docs/documentation/cn/sql-reference/sql-statements/Data Types/BOOLEAN.md +++ b/docs/documentation/cn/sql-reference/sql-statements/Data Types/BOOLEAN.md @@ -19,7 +19,7 @@ under the License. # BOOLEAN ## description - BOOL, BOOLEN + BOOL, BOOLEAN 与TINYINT一样,0代表false,1代表true ## keyword diff --git a/docs/documentation/en/sql-reference/sql-statements/Data Types/BOOLEAN_EN.md b/docs/documentation/en/sql-reference/sql-statements/Data Types/BOOLEAN_EN.md index 9e6754c..1038fcc 100644 --- a/docs/documentation/en/sql-reference/sql-statements/Data Types/BOOLEAN_EN.md +++ b/docs/documentation/en/sql-reference/sql-statements/Data Types/BOOLEAN_EN.md @@ -19,7 +19,7 @@ under the License. # BOOLEAN ## Description -BOOL, BOOLEN +BOOL, BOOLEAN Like TINYINT, 0 stands for false and 1 for true. ##keyword --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org