mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
13 lines
558 B
XML
13 lines
558 B
XML
<test>
|
|
<create_query>
|
|
CREATE TABLE test_lc (x UInt64, lc LowCardinality(Nullable(String))) ENGINE = MergeTree order by x
|
|
</create_query>
|
|
|
|
<fill_query>INSERT INTO test_lc SELECT number, number % 10 ? NULL : toString(number % 10000) FROM numbers(1000000)</fill_query>
|
|
|
|
<query>SELECT isNullable(lc) FROM test_lc FORMAT Null</query>
|
|
<query>SELECT isConstant(lc) FROM test_lc FORMAT Null</query>
|
|
<query>SELECT isNull(lc) FROM test_lc FORMAT Null</query>
|
|
<query>SELECT isNotNull(lc) FROM test_lc FORMAT Null</query>
|
|
</test>
|