mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
12 lines
1.0 KiB
XML
12 lines
1.0 KiB
XML
<test>
|
|
<settings>
|
|
<use_short_circuit_function_evaluation>1</use_short_circuit_function_evaluation>
|
|
</settings>
|
|
<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>SELECT toTypeName(isValidUTF8(repeat(toString(number), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
<query>SELECT toColumnTypeName(isValidUTF8(repeat(toString(number), 10))) FROM numbers(1000000) FORMAT Null</query>
|
|
</test>
|