mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 04:32:33 +00:00
19 lines
693 B
XML
19 lines
693 B
XML
<test>
|
|
<settings><optimize_aggregation_in_order>1</optimize_aggregation_in_order></settings>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>table</name>
|
|
<values>
|
|
<value>hits_10m_single</value>
|
|
<value>hits_100m_single</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query>SELECT avg(length(URL)) as x from hits_100m_single GROUP BY CounterID FORMAT Null</query>
|
|
<query>SELECT avg(length(URL)) as x from {table} GROUP BY CounterID, EventDate FORMAT Null</query>
|
|
<query>SELECT avg(length(URL)) as x from hits_10m_single GROUP BY CounterID, EventDate, intHash32(UserID) FORMAT Null</query>
|
|
|
|
</test>
|