ClickHouse/tests/queries/0_stateless/01881_aggregate_functions_versioning.sql
2021-05-30 13:57:30 +00:00

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;