mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
4050b637f1
- Related to #45451, which provides a default GRANULARITY when the skipping index is created in CREATE TABLE.
10 lines
395 B
SQL
10 lines
395 B
SQL
DROP TABLE IF EXISTS users_02534;
|
|
CREATE TABLE users_02534 (id Int16, name String, INDEX bf_idx(name) TYPE minmax) ENGINE=MergeTree ORDER BY id;
|
|
SHOW CREATE TABLE users_02534;
|
|
DROP TABLE users_02534;
|
|
|
|
CREATE TABLE users_02534 (id Int16, name String) ENGINE=MergeTree ORDER BY id;
|
|
ALTER TABLE users_02534 ADD INDEX bf_idx(name) TYPE minmax;
|
|
SHOW CREATE TABLE users_02534;
|
|
DROP TABLE users_02534;
|