2020-05-28 17:30:21 +00:00
|
|
|
<test>
|
2020-05-31 00:00:16 +00:00
|
|
|
<settings><optimize_aggregation_in_order>1</optimize_aggregation_in_order></settings>
|
|
|
|
|
2020-05-28 17:30:21 +00:00
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
|
|
|
<name>table</name>
|
|
|
|
<values>
|
|
|
|
<value>hits_10m_single</value>
|
|
|
|
<value>hits_100m_single</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
2020-05-31 00:00:16 +00:00
|
|
|
<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>
|
2020-05-28 17:30:21 +00:00
|
|
|
|
|
|
|
</test>
|