ClickHouse/tests/performance/columns_hashing.xml
2020-10-30 18:12:15 +03:00

13 lines
823 B
XML

<test>
<preconditions>
<table_exists>hits_10m_single</table_exists>
<table_exists>hits_100m_single</table_exists>
</preconditions>
<query>select sum(UserID + 1 in (select UserID from hits_10m_single)) from hits_10m_single</query>
<query>select sum((UserID + 1, RegionID) in (select UserID, RegionID from hits_10m_single)) from hits_10m_single</query>
<query>select sum(URL in (select URL from hits_10m_single where URL != '')) from hits_10m_single</query>
<query>select sum(MobilePhoneModel in (select MobilePhoneModel from hits_100m_single where MobilePhoneModel != '')) from hits_100m_single</query>
<query>select sum((MobilePhoneModel, UserID + 1) in (select MobilePhoneModel, UserID from hits_100m_single where MobilePhoneModel != '')) from hits_100m_single</query>
</test>