ClickHouse/tests/performance/quantile.xml

35 lines
1.1 KiB
XML
Raw Normal View History

2021-05-21 06:29:56 +00:00
<test>
<substitutions>
<substitution>
<name>key</name>
<values>
<value>SearchEngineID</value>
<value>RegionID</value>
<value>SearchPhrase</value>
2021-06-27 15:54:21 +00:00
</values>
</substitution>
<!-- For some keys, the query is slower, so we choose smaller dataset. -->
<substitution>
<name>key_slow</name>
<values>
2021-05-21 06:29:56 +00:00
<value>ClientIP</value>
</values>
</substitution>
2021-06-27 15:54:21 +00:00
2021-05-21 06:29:56 +00:00
<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>
2021-06-27 15:54:21 +00:00
<query>SELECT {key_slow} AS k, {func}(ResolutionWidth) FROM hits_10m_single GROUP BY k FORMAT Null</query>
2021-05-21 06:29:56 +00:00
</test>