You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/07/01 01:21:10 UTC

[incubator-doris] branch master updated: [Docs] Typo fix on CREATE TABLE.md (#6126)

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 bdafb61  [Docs] Typo fix on CREATE TABLE.md (#6126)
bdafb61 is described below

commit bdafb61ae14d25ef743acb0dfb0fba764eb520ed
Author: Pxl <95...@qq.com>
AuthorDate: Thu Jul 1 09:20:12 2021 +0800

    [Docs] Typo fix on CREATE TABLE.md (#6126)
---
 docs/en/sql-reference/sql-statements/Data Definition/CREATE TABLE.md   | 3 ++-
 .../zh-CN/sql-reference/sql-statements/Data Definition/CREATE TABLE.md | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/en/sql-reference/sql-statements/Data Definition/CREATE TABLE.md b/docs/en/sql-reference/sql-statements/Data Definition/CREATE TABLE.md
index 0ce6db3..d03094c 100644
--- a/docs/en/sql-reference/sql-statements/Data Definition/CREATE TABLE.md	
+++ b/docs/en/sql-reference/sql-statements/Data Definition/CREATE TABLE.md	
@@ -88,9 +88,10 @@ Syntax:
             BITMAP type, No need to specify length. Represent a set of unsigned bigint numbers, the largest element could be 2^64 - 1
     ```
     agg_type: Aggregation type. If not specified, the column is key column. Otherwise, the column   is value column.
+
        * SUM、MAX、MIN、REPLACE
        * HLL_UNION: Only for HLL type
-       * REPLACE_IF_NOT_NULL: The meaning of this aggregation type is that substitution will   occur if and only if the newly imported data is a non-null value. If the newly imported   data is null, Doris will still retain the original value. Note: if NOT NULL is specified  in the REPLACE_IF_NOT_NULL column when the user creates the table, Doris will convert it     to NULL and will not report an error to the user. Users can leverage this aggregate type    to achieve importing some of columns.
+       * REPLACE_IF_NOT_NULL: The meaning of this aggregation type is that substitution will occur if and only if the newly imported data is a non-null value. If the newly imported data is null, Doris will still retain the original value. Note: if NOT NULL is specified in the REPLACE_IF_NOT_NULL column when the user creates the table, Doris will convert it to NULL and will not report an error to the user. Users can leverage this aggregate type to achieve importing some of columns.
        * BITMAP_UNION: Only for BITMAP type
     Allow NULL: Default is NOT NULL. NULL value should be represented as `\N` in load source file.
     Notice: The origin value of BITMAP_UNION column should be TINYINT, SMALLINT, INT, BIGINT.
diff --git a/docs/zh-CN/sql-reference/sql-statements/Data Definition/CREATE TABLE.md b/docs/zh-CN/sql-reference/sql-statements/Data Definition/CREATE TABLE.md
index 8dd3299..2277e57 100644
--- a/docs/zh-CN/sql-reference/sql-statements/Data Definition/CREATE TABLE.md	
+++ b/docs/zh-CN/sql-reference/sql-statements/Data Definition/CREATE TABLE.md	
@@ -90,6 +90,7 @@ under the License.
     ```
 
     agg_type:聚合类型,如果不指定,则该列为 key 列。否则,该列为 value 列
+    
        * SUM、MAX、MIN、REPLACE
        * HLL_UNION(仅用于HLL列,为HLL独有的聚合方式)、
        * BITMAP_UNION(仅用于 BITMAP 列,为 BITMAP 独有的聚合方式)、

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