mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
fix integration test_insert_into_distributed allow_experimental_low_cardinality_type
This commit is contained in:
parent
192092c2bd
commit
6da945b2a7
@ -60,20 +60,17 @@ CREATE TABLE distributed (date Date, id UInt32) ENGINE = Distributed('shard_with
|
|||||||
''')
|
''')
|
||||||
|
|
||||||
shard1.query('''
|
shard1.query('''
|
||||||
SET allow_experimental_low_cardinality_type = 1
|
SET allow_experimental_low_cardinality_type = 1;
|
||||||
''')
|
CREATE TABLE low_cardinality (d Date, x UInt32, s LowCardinality(String)) ENGINE = MergeTree(d, x, 8192)''')
|
||||||
shard1.query('''
|
|
||||||
CREATE TABLE low_cardinality (d Date, x UInt32, s LowCardinality(String)) ENGINE = MergeTree(d, x, 8192)
|
|
||||||
''')
|
|
||||||
shard2.query('''
|
shard2.query('''
|
||||||
SET allow_experimental_low_cardinality_type = 1
|
SET allow_experimental_low_cardinality_type = 1;
|
||||||
''')
|
CREATE TABLE low_cardinality (d Date, x UInt32, s LowCardinality(String)) ENGINE = MergeTree(d, x, 8192)''')
|
||||||
shard2.query('''
|
|
||||||
CREATE TABLE low_cardinality (d Date, x UInt32, s LowCardinality(String)) ENGINE = MergeTree(d, x, 8192)
|
|
||||||
''')
|
|
||||||
shard1.query('''
|
shard1.query('''
|
||||||
CREATE TABLE low_cardinality_all (d Date, x UInt32, s LowCardinality(String)) ENGINE = Distributed('shard_with_low_cardinality', 'default', 'low_cardinality', sipHash64(s))
|
SET allow_experimental_low_cardinality_type = 1;
|
||||||
''')
|
CREATE TABLE low_cardinality_all (d Date, x UInt32, s LowCardinality(String)) ENGINE = Distributed('shard_with_low_cardinality', 'default', 'low_cardinality', sipHash64(s))''')
|
||||||
|
|
||||||
yield cluster
|
yield cluster
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user