Skip to content

Commit

Permalink
[Docs] Typo fix on CREATE TABLE.md (apache#6126)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteTheDDDDt authored and stalary committed Jul 8, 2021
1 parent 97d15ec commit d5c442a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ under the License.
```
agg_type:聚合类型,如果不指定,则该列为 key 列。否则,该列为 value 列
* SUM、MAX、MIN、REPLACE
* HLL_UNION(仅用于HLL列,为HLL独有的聚合方式)、
* BITMAP_UNION(仅用于 BITMAP 列,为 BITMAP 独有的聚合方式)、
Expand Down

0 comments on commit d5c442a

Please sign in to comment.