test_hits_agg_functions_max_min_any
loop
3
10000
5
60000
default.hits_1000m_single
select min(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000
select max(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000
select any(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000
select anyHeavy(Title) from hits_1000m_single where Title != '' group by intHash32(UserID) % 1000000
select min(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000
select max(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000
select any(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000
select anyHeavy(URL) from hits_1000m_single where URL != '' group by intHash32(UserID) % 1000000
select min(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000
select max(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000
select any(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000
select anyHeavy(Referer) from hits_1000m_single where Referer != '' group by intHash32(UserID) % 1000000
select min(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000
select max(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000
select any(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000
select anyHeavy(FlashMinor2) from hits_1000m_single where FlashMinor2 != '' group by intHash32(UserID) % 1000000
select min(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000
select max(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000
select any(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000
select anyHeavy(MobilePhoneModel) from hits_1000m_single where MobilePhoneModel != '' group by intHash32(UserID) % 1000000
select min(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000
select max(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000
select any(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000
select anyHeavy(Params) from hits_1000m_single where Params != '' group by intHash32(UserID) % 1000000
select min(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000
select max(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000
select any(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000
select anyHeavy(SearchPhrase) from hits_1000m_single where SearchPhrase != '' group by intHash32(UserID) % 1000000
select min(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000
select max(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000
select any(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000
select anyHeavy(PageCharset) from hits_1000m_single where PageCharset != '' group by intHash32(UserID) % 1000000
select min(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000
select max(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000
select any(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000
select anyHeavy(OriginalURL) from hits_1000m_single where OriginalURL != '' group by intHash32(UserID) % 1000000
select min(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000
select max(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000
select any(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000
select anyHeavy(SocialNetwork) from hits_1000m_single where SocialNetwork != '' group by intHash32(UserID) % 1000000
select min(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000
select max(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000
select any(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000
select anyHeavy(SocialAction) from hits_1000m_single where SocialAction != '' group by intHash32(UserID) % 1000000
select min(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000
select max(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000
select any(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000
select anyHeavy(SocialSourcePage) from hits_1000m_single where SocialSourcePage != '' group by intHash32(UserID) % 1000000
select min(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000
select max(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000
select any(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000
select anyHeavy(ParamOrderID) from hits_1000m_single where ParamOrderID != '' group by intHash32(UserID) % 1000000
select min(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000
select max(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000
select any(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000
select anyHeavy(OpenstatServiceName) from hits_1000m_single where OpenstatServiceName != '' group by intHash32(UserID) % 1000000
select min(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000
select max(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000
select any(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000
select anyHeavy(OpenstatCampaignID) from hits_1000m_single where OpenstatCampaignID != '' group by intHash32(UserID) % 1000000
select min(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000
select max(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000
select any(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000
select anyHeavy(OpenstatAdID) from hits_1000m_single where OpenstatAdID != '' group by intHash32(UserID) % 1000000
select min(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000
select max(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000
select any(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000
select anyHeavy(OpenstatSourceID) from hits_1000m_single where OpenstatSourceID != '' group by intHash32(UserID) % 1000000
select min(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000
select max(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000
select any(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000
select anyHeavy(UTMSource) from hits_1000m_single where UTMSource != '' group by intHash32(UserID) % 1000000
select min(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000
select max(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000
select any(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000
select anyHeavy(UTMMedium) from hits_1000m_single where UTMMedium != '' group by intHash32(UserID) % 1000000
select min(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000
select max(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000
select any(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000
select anyHeavy(UTMCampaign) from hits_1000m_single where UTMCampaign != '' group by intHash32(UserID) % 1000000
select min(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000
select max(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000
select any(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000
select anyHeavy(UTMContent) from hits_1000m_single where UTMContent != '' group by intHash32(UserID) % 1000000
select min(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000
select max(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000
select any(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000
select anyHeavy(UTMTerm) from hits_1000m_single where UTMTerm != '' group by intHash32(UserID) % 1000000
select min(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000
select max(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000
select any(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000
select anyHeavy(FromTag) from hits_1000m_single where FromTag != '' group by intHash32(UserID) % 1000000