mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2026-10-28 16:18:23 +08:00
14 lines
748 B
XML
14 lines
748 B
XML
<test>
|
|
<settings>
|
|
<max_threads>1</max_threads>
|
|
</settings>
|
|
|
|
<create_query>CREATE TABLE array_enumerate_fixed_string (a16 Array(FixedString(16)), a32 Array(FixedString(32))) ENGINE = Memory</create_query>
|
|
<fill_query>INSERT INTO array_enumerate_fixed_string SELECT arrayMap(x -> toFixedString(toString((x + number) % 64), 16), range(256)), arrayMap(x -> toFixedString(toString((x + number) % 64), 32), range(256)) FROM numbers(10000)</fill_query>
|
|
|
|
<query>SELECT arrayEnumerateUniq(a32) FROM array_enumerate_fixed_string FORMAT Null</query>
|
|
<query>SELECT arrayEnumerateDense(a32) FROM array_enumerate_fixed_string FORMAT Null</query>
|
|
|
|
<drop_query>DROP TABLE array_enumerate_fixed_string</drop_query>
|
|
</test>
|