Fix slow performance test

This commit is contained in:
Alexey Milovidov 2021-06-27 18:54:21 +03:00
parent 1b644b9a31
commit 887be640f9

View File

@ -1,6 +1,7 @@
<test>
<preconditions>
<table_exists>hits_100m_single</table_exists>
<table_exists>hits_10m_single</table_exists>
</preconditions>
<substitutions>
@ -10,9 +11,17 @@
<value>SearchEngineID</value>
<value>RegionID</value>
<value>SearchPhrase</value>
</values>
</substitution>
<!-- For some keys, the query is slower, so we choose smaller dataset. -->
<substitution>
<name>key_slow</name>
<values>
<value>ClientIP</value>
</values>
</substitution>
<substitution>
<name>func</name>
<values>
@ -26,4 +35,5 @@
</substitutions>
<query>SELECT {key} AS k, {func}(ResolutionWidth) FROM hits_100m_single GROUP BY k FORMAT Null</query>
<query>SELECT {key_slow} AS k, {func}(ResolutionWidth) FROM hits_10m_single GROUP BY k FORMAT Null</query>
</test>