ClickHouse/tests/performance/base64_hits.xml

22 lines
724 B
XML

<test>
<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>