ClickHouse/tests/performance/base64.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
856 B
XML
Raw Normal View History

2018-11-23 21:04:14 +00:00
<test>
<substitutions>
<substitution>
<name>string</name>
2018-11-23 21:04:14 +00:00
<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>
2018-11-23 21:04:14 +00:00
<values>
2020-03-02 15:37:44 +00:00
<value>numbers(10000000)</value>
2018-11-23 21:04:14 +00:00
</values>
</substitution>
</substitutions>
2020-02-28 16:29:16 +00:00
<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>
2018-11-23 21:04:14 +00:00
</test>