mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
10c7a6c45e
* Add ability to specify DefaultCompression codec which correspond to settings specified in config.xml * Fix style * Rename DefaultCompression to simple Default * Fix compression codec * Better codec description representation * Less strange code and one method * Fix delta
9 lines
380 B
Plaintext
9 lines
380 B
Plaintext
1 1 1 1
|
|
1 1 1 1
|
|
2 2 2 2
|
|
key UInt64
|
|
value1 String Default
|
|
value2 UInt64 Delta(8), Default
|
|
value3 String Default
|
|
CREATE TABLE default.compress_table\n(\n `key` UInt64,\n `value1` String CODEC(Default),\n `value2` UInt64 CODEC(Delta(8), Default),\n `value3` String CODEC(Default)\n)\nENGINE = MergeTree()\nORDER BY key\nSETTINGS index_granularity = 8192
|