mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
41 lines
1.3 KiB
XML
41 lines
1.3 KiB
XML
<test>
|
|
<name>base64</name>
|
|
<type>once</type>
|
|
|
|
<stop_conditions>
|
|
<all_of>
|
|
<total_time_ms>10000</total_time_ms>
|
|
</all_of>
|
|
<any_of>
|
|
<average_speed_not_changing_for_ms>5000</average_speed_not_changing_for_ms>
|
|
<total_time_ms>20000</total_time_ms>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<main_metric>
|
|
<max_bytes_per_second/>
|
|
</main_metric>
|
|
|
|
<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</value>
|
|
<value>numbers_mt</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT count() FROM system.{table} WHERE NOT ignore(base64Encode({string}))</query>
|
|
<query>SELECT count() FROM system.{table} WHERE base64Decode(base64Encode({string})) != {string}</query>
|
|
<query>SELECT count() FROM system.{table} WHERE tryBase64Decode(base64Encode({string})) != {string}</query>
|
|
</test>
|