mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
Added a test for #7754
This commit is contained in:
parent
7998575a34
commit
cd7ed94a08
@ -0,0 +1,4 @@
|
||||
1 --
|
||||
1 RU
|
||||
1 --
|
||||
1 RU
|
@ -0,0 +1,15 @@
|
||||
DROP TABLE IF EXISTS test;
|
||||
CREATE TABLE test
|
||||
(
|
||||
id UInt32,
|
||||
code LowCardinality(FixedString(2)) DEFAULT '--'
|
||||
) ENGINE = MergeTree() PARTITION BY id ORDER BY id;
|
||||
|
||||
INSERT INTO test FORMAT CSV 1,RU
|
||||
INSERT INTO test FORMAT CSV 1,
|
||||
|
||||
SELECT * FROM test ORDER BY code;
|
||||
OPTIMIZE TABLE test;
|
||||
SELECT * FROM test ORDER BY code;
|
||||
|
||||
DROP TABLE test;
|
Loading…
Reference in New Issue
Block a user