ClickHouse/tests/performance/columns_hashing.xml

16 lines
818 B
XML
Raw Normal View History

2019-02-05 10:52:23 +00:00
<test>
<tags>
<tag>columns_hashing</tag>
</tags>
2019-02-05 10:52:23 +00:00
<preconditions>
2020-05-24 20:35:49 +00:00
<table_exists>test.hits</table_exists>
2019-02-05 10:52:23 +00:00
</preconditions>
2020-05-24 20:35:49 +00:00
<query><![CDATA[select sum(UserID + 1 in (select UserID from test.hits)) from test.hits]]></query>
<query><![CDATA[select sum((UserID + 1, RegionID) in (select UserID, RegionID from test.hits)) from test.hits]]></query>
<query><![CDATA[select sum(URL in (select URL from test.hits where URL != '')) from test.hits]]></query>
<query><![CDATA[select sum(MobilePhoneModel in (select MobilePhoneModel from test.hits where MobilePhoneModel != '')) from test.hits]]></query>
<query><![CDATA[select sum((MobilePhoneModel, UserID + 1) in (select MobilePhoneModel, UserID from test.hits where MobilePhoneModel != '')) from test.hits]]></query>
2019-02-05 10:52:23 +00:00
</test>