ClickHouse/tests/performance/base64_hits.xml
2020-04-18 15:54:16 +03:00

25 lines
757 B
XML

<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<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_100m_single WHERE NOT ignore(base64Encode({string}))</query>
<query>SELECT count() FROM hits_100m_single WHERE base64Decode(base64Encode({string})) != {string}</query>
<query>SELECT count() FROM hits_100m_single WHERE tryBase64Decode(base64Encode({string})) != {string}</query>
</test>