ClickHouse/tests/performance/quantile.xml

35 lines
1.1 KiB
XML

<test>
<substitutions>
<substitution>
<name>key</name>
<values>
<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>
<value>quantile</value>
<value>quantileExact</value>
<value>quantileTDigest</value>
<value>quantileTiming</value>
<value>quantileBFloat16</value>
</values>
</substitution>
</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>