mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
16 lines
390 B
SQL
16 lines
390 B
SQL
SET check_query_single_value_result = 'false';
|
|
|
|
DROP TABLE IF EXISTS check_table_with_indices;
|
|
|
|
CREATE TABLE check_table_with_indices (
|
|
id UInt64,
|
|
data String,
|
|
INDEX a (id) type minmax GRANULARITY 3
|
|
) ENGINE = MergeTree() ORDER BY id;
|
|
|
|
INSERT INTO check_table_with_indices VALUES (0, 'test'), (1, 'test2');
|
|
|
|
CHECK TABLE check_table_with_indices;
|
|
|
|
DROP TABLE check_table_with_indices;
|