ClickHouse/tests/queries/0_stateless/01415_inconsistent_merge_tree_settings.sql

13 lines
312 B
MySQL
Raw Normal View History

2020-07-23 12:37:20 +00:00
DROP TABLE IF EXISTS t;
SET mutations_sync = 1;
2020-07-30 21:42:55 +00:00
CREATE TABLE t (x UInt8, s String) ENGINE = MergeTree ORDER BY x SETTINGS number_of_free_entries_in_pool_to_execute_mutation = 15;
2020-07-23 12:37:20 +00:00
INSERT INTO t VALUES (1, 'hello');
SELECT * FROM t;
ALTER TABLE t UPDATE s = 'world' WHERE x = 1;
SELECT * FROM t;
DROP TABLE t;