mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
<test>
|
|
<preconditions>
|
|
<table_exists>hits_100m_single</table_exists>
|
|
<table_exists>hits_10m_single</table_exists>
|
|
</preconditions>
|
|
|
|
<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>
|