mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Add a test #16171
This commit is contained in:
parent
2de543cbfb
commit
e52851d0ed
@ -0,0 +1,2 @@
|
|||||||
|
LowCardinality(String)
|
||||||
|
LowCardinality(String)
|
@ -0,0 +1,15 @@
|
|||||||
|
DROP TABLE IF EXISTS errors_local;
|
||||||
|
|
||||||
|
CREATE TABLE errors_local (level LowCardinality(String)) ENGINE=ReplacingMergeTree ORDER BY level settings min_bytes_for_wide_part = '10000000';
|
||||||
|
insert into errors_local select toString(number) from numbers(10000);
|
||||||
|
|
||||||
|
SELECT toTypeName(level) FROM errors_local FINAL PREWHERE isNotNull(level) WHERE isNotNull(level) LIMIT 1;
|
||||||
|
|
||||||
|
DROP TABLE errors_local;
|
||||||
|
|
||||||
|
CREATE TABLE errors_local(level LowCardinality(String)) ENGINE=ReplacingMergeTree ORDER BY level;
|
||||||
|
insert into errors_local select toString(number) from numbers(10000);
|
||||||
|
|
||||||
|
SELECT toTypeName(level) FROM errors_local FINAL PREWHERE isNotNull(level) WHERE isNotNull(level) LIMIT 1;
|
||||||
|
|
||||||
|
DROP TABLE errors_local;
|
Loading…
Reference in New Issue
Block a user