Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Typo fix on CREATE TABLE.md #6126

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
typo fix
  • Loading branch information
pxl committed Jun 30, 2021
commit 1d87d8cfb1d52eff4e5db7c5c99e1ac8432f93e6
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