ClickHouse/tests/performance/base64_hits.xml
Alexander Kuzmenkov 5719549ee1 fixup
2020-06-09 16:29:07 +03:00

26 lines
819 B
XML

<test>
<preconditions>
<table_exists>hits_10m_single</table_exists>
</preconditions>
<settings>
<max_threads>1</max_threads>
</settings>
<substitutions>
<substitution>
<name>string</name>
<values>
<value>SearchPhrase</value>
<value>MobilePhoneModel</value>
<value>URL</value>
<value>Title</value>
</values>
</substitution>
</substitutions>
<query>SELECT count() FROM hits_10m_single WHERE NOT ignore(base64Encode({string}))</query>
<query>SELECT count() FROM hits_10m_single WHERE base64Decode(base64Encode({string})) != {string}</query>
<query>SELECT count() FROM hits_10m_single WHERE tryBase64Decode(base64Encode({string})) != {string}</query>
</test>