mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
11 lines
258 B
SQL
11 lines
258 B
SQL
DROP TABLE IF EXISTS test_table;
|
|
CREATE TABLE test_table
|
|
(
|
|
`col1` DateTime,
|
|
`col2` Int64,
|
|
`col3` AggregateFunction(sumMap, Tuple(Array(UInt8), Array(UInt8)))
|
|
)
|
|
ENGINE = AggregatingMergeTree() ORDER BY (col1, col2);
|
|
|
|
SHOW CREATE TABLE test_table;
|