ClickHouse/tests/performance/base64.xml
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

34 lines
1.0 KiB
XML

<test>
<stop_conditions>
<all_of>
<total_time_ms>10000</total_time_ms>
</all_of>
<any_of>
<total_time_ms>20000</total_time_ms>
</any_of>
</stop_conditions>
<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>