mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 15:42:39 +00:00
26 lines
856 B
XML
26 lines
856 B
XML
<test>
|
|
|
|
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>string</name>
|
|
<values>
|
|
<value>materialize('Hello, world!')</value>
|
|
<value>materialize('This is a long string to test ClickHouse base64 functions impl..')</value>
|
|
<value>toString(number)</value>
|
|
</values>
|
|
</substitution>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>numbers(10000000)</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT count() FROM {table} WHERE NOT ignore(base64Encode({string}))</query>
|
|
<query>SELECT count() FROM {table} WHERE base64Decode(base64Encode({string})) != {string}</query>
|
|
<query>SELECT count() FROM {table} WHERE tryBase64Decode(base64Encode({string})) != {string}</query>
|
|
</test>
|