mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 19:14:30 +00:00
12 lines
1.4 KiB
XML
12 lines
1.4 KiB
XML
<test>
|
|
<query>SELECT if(number % 2, isValidUTF8(repeat(toString(number), 10)), isValidUTF8(repeat(toString(number + 10), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
<query>SELECT not isValidUTF8(repeat(toString(number), 10)) and isValidUTF8(repeat(toString(number + 10), 10)) FROM numbers(1000000) FORMAT Null</query>
|
|
<query>SELECT isValidUTF8(repeat(toString(number), 10)) or isValidUTF8(repeat(toString(number + 10), 10)) FROM numbers(1000000) FORMAT Null</query>
|
|
<query>SELECT multiIf(number >= 500000, isValidUTF8(repeat(toString(number), 10)), less(number, 50000), number * 2, isValidUTF8(repeat(toString(number + 10), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
<query short="1">SELECT toTypeName(isValidUTF8(repeat(toString(number), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
<query short="1">SELECT toColumnTypeName(isValidUTF8(repeat(toString(number), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
<query>SELECT if(isValidUTF8(repeat(toString(number), 10)), isValidUTF8(repeat(toString(number), 10)), number) FROM numbers(10000000) format Null</query>
|
|
<query>SELECT if(number % 2, isValidUTF8(repeat(toString(number), 10)), isValidUTF8(repeat(toString(number), 10))) FROM numbers(1000000) format Null</query>
|
|
<query>SELECT isValidUTF8(repeat(toString(number), 10)) and isValidUTF8(repeat(toString(number), 10)) and isValidUTF8(repeat(toString(number), 10)) </query>
|
|
</test>
|