mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
73 lines
3.9 KiB
XML
73 lines
3.9 KiB
XML
|
<test>
|
||
|
|
||
|
<substitutions>
|
||
|
<substitution>
|
||
|
<name>string_json</name>
|
||
|
<values>
|
||
|
<value>'{"a": "hi", "b": "hello", "c": "hola", "d": "see you, bye, bye"}'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>int_json</name>
|
||
|
<values>
|
||
|
<value>'{"a": 11, "b": 2222, "c": 33333333, "d": 4444444444444444}'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>uuid_json</name>
|
||
|
<values>
|
||
|
<value>'{"a": "2d49dc6e-ddce-4cd0-afb8-790956df54c4", "b": "2d49dc6e-ddce-4cd0-afb8-790956df54c3", "c": "2d49dc6e-ddce-4cd0-afb8-790956df54c1", "d": "2d49dc6e-ddce-4cd0-afb8-790956df54c1"}'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_string</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(String), b LowCardinality(String), c LowCardinality(String), d LowCardinality(String) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_fixed_string</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(FixedString(20)), b LowCardinality(FixedString(20)), c LowCardinality(FixedString(20)), d LowCardinality(FixedString(20)) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_int8</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(Int8), b LowCardinality(Int8), c LowCardinality(Int8), d LowCardinality(Int8) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_int16</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(Int16), b LowCardinality(Int16), c LowCardinality(Int16), d LowCardinality(Int16) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_int32</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(Int32), b LowCardinality(Int32), c LowCardinality(Int32), d LowCardinality(Int32) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_int64</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(Int64), b LowCardinality(Int64), c LowCardinality(Int64), d LowCardinality(Int64) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
<substitution>
|
||
|
<name>low_cardinality_tuple_uuid</name>
|
||
|
<values>
|
||
|
<value>'Tuple(a LowCardinality(UUID), b LowCardinality(UUID), c LowCardinality(UUID), d LowCardinality(UUID) )'</value>
|
||
|
</values>
|
||
|
</substitution>
|
||
|
</substitutions>
|
||
|
|
||
|
<query>SELECT 'fixed_string_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({string_json}), {low_cardinality_tuple_fixed_string})) FORMAT Null </query>
|
||
|
<query>SELECT 'string_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({string_json}), {low_cardinality_tuple_string})) FORMAT Null </query>
|
||
|
<query>SELECT 'int8_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({int_json}), {low_cardinality_tuple_int8})) FORMAT Null </query>
|
||
|
<query>SELECT 'int16_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({int_json}), {low_cardinality_tuple_int16})) FORMAT Null </query>
|
||
|
<query>SELECT 'int32_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({int_json}), {low_cardinality_tuple_int32})) FORMAT Null </query>
|
||
|
<query>SELECT 'int64_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({int_json}), {low_cardinality_tuple_int64})) FORMAT Null </query>
|
||
|
<query>SELECT 'uuid_json' FROM zeros(500000) WHERE NOT ignore(JSONExtract(materialize({uuid_json}), {low_cardinality_tuple_uuid})) FORMAT Null </query>
|
||
|
</test>
|