mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge branch 'master' of github.com:yandex/ClickHouse
This commit is contained in:
commit
3a7e0beff6
@ -94,7 +94,7 @@ ENGINE = TinyLog
|
||||
it can store not only `'hello'` and `'world'`, but `NULL`, as well.
|
||||
|
||||
```
|
||||
INSERT INTO t_enum_null Values('hello'),('world'),(NULL)
|
||||
INSERT INTO t_enum_nullable Values('hello'),('world'),(NULL)
|
||||
```
|
||||
|
||||
In RAM, an `Enum` column is stored in the same way as `Int8` or `Int16` of the corresponding numerical values.
|
||||
|
@ -90,7 +90,7 @@ ENGINE = TinyLog
|
||||
, то в ней можно будет хранить не только `'hello'` и `'world'`, но и `NULL`.
|
||||
|
||||
```
|
||||
INSERT INTO t_enum_null Values('hello'),('world'),(NULL)
|
||||
INSERT INTO t_enum_nullable Values('hello'),('world'),(NULL)
|
||||
```
|
||||
|
||||
В оперативке столбец типа `Enum` представлен так же, как `Int8` или `Int16` соответствующими числовыми значениями.
|
||||
|
@ -91,7 +91,7 @@ ENGINE = TinyLog
|
||||
不仅可以存储 `'hello'` 和 `'world'` ,还可以存储 `NULL`。
|
||||
|
||||
```
|
||||
INSERT INTO t_enum_null Values('hello'),('world'),(NULL)
|
||||
INSERT INTO t_enum_nullable Values('hello'),('world'),(NULL)
|
||||
```
|
||||
|
||||
在内存中,`Enum` 列的存储方式与相应数值的 `Int8` 或 `Int16` 相同。
|
||||
|
Loading…
Reference in New Issue
Block a user