ClickHouse/tests/performance/low_cardinality_argument.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
554 B
XML
Raw Normal View History

<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(1e7)</fill_query>
2022-07-14 10:54:14 +00:00
<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>