(
(let $1 '"OpenstatCampaignID")
(let $2 '"OpenstatServiceName")
(let $3 '"RefererCategoryID")
(let $4 '"ResponseEndTiming")
(let $5 '"ResponseStartTiming")
(let $6 '"SilverlightVersion1")
(let $7 '"SilverlightVersion2")
(let $8 '"SilverlightVersion3")
(let $9 '"SilverlightVersion4")
(let $10 '"SocialSourceNetworkID")
(let $11 '"WindowClientHeight")
(let $12 '"WindowClientWidth")
(let $13 (Uint64 '10))
(let $14 (Bool 'true))
(let $15 (DataType 'Int16))
(let $16 (DataType 'Utf8))
(let $17 (DataType 'Int32))
(let $18 (DataType 'Timestamp64))
(let $19 (DataType 'Int64))
(let $20 (StructType '('"AdvEngineID" $15) '('"Age" $15) '('"BrowserCountry" $16) '('"BrowserLanguage" $16) '('"CLID" $17) '('"ClientEventTime" $18) '('"ClientIP" $17) '('"ClientTimeZone" $15) '('"CodeVersion" $17) '('"ConnectTiming" $17) '('"CookieEnable" $15) '('"CounterClass" $15) '('"CounterID" $17) '('"DNSTiming" $17) '('"DontCountHits" $15) '('"EventDate" (DataType 'Date32)) '('"EventTime" $18) '('"FUniqID" $19) '('"FetchTiming" $17) '('"FlashMajor" $15) '('"FlashMinor" $15) '('"FlashMinor2" $16) '('"FromTag" $16) '('"GoodEvent" $15) '('"HID" $17) '('"HTTPError" $15) '('"HasGCLID" $15) '('"HistoryLength" $15) '('"HitColor" $16) '('"IPNetworkID" $17) '('"Income" $15) '('"Interests" $15) '('"IsArtifical" $15) '('"IsDownload" $15) '('"IsEvent" $15) '('"IsLink" $15) '('"IsMobile" $15) '('"IsNotBounce" $15) '('"IsOldCounter" $15) '('"IsParameter" $15) '('"IsRefresh" $15) '('"JavaEnable" $15) '('"JavascriptEnable" $15) '('"LocalEventTime" $18) '('"MobilePhone" $15) '('"MobilePhoneModel" $16) '('"NetMajor" $15) '('"NetMinor" $15) '('"OS" $15) '('"OpenerName" $17) '('"OpenstatAdID" $16) '($1 $16) '($2 $16) '('"OpenstatSourceID" $16) '('"OriginalURL" $16) '('"PageCharset" $16) '('"ParamCurrency" $16) '('"ParamCurrencyID" $15) '('"ParamOrderID" $16) '('"ParamPrice" $19) '('"Params" $16) '('"Referer" $16) '($3 $15) '('"RefererHash" $19) '('"RefererRegionID" $17) '('"RegionID" $17) '('"RemoteIP" $17) '('"ResolutionDepth" $15) '('"ResolutionHeight" $15) '('"ResolutionWidth" $15) '($4 $17) '($5 $17) '('"Robotness" $15) '('"SearchEngineID" $15) '('"SearchPhrase" $16) '('"SendTiming" $17) '('"Sex" $15) '($6 $15) '($7 $15) '($8 $17) '($9 $15) '('"SocialAction" $16) '('"SocialNetwork" $16) '($10 $15) '('"SocialSourcePage" $16) '('"Title" $16) '('"TraficSourceID" $15) '('"URL" $16) '('"URLCategoryID" $15) '('"URLHash" $19) '('"URLRegionID" $17) '('"UTMCampaign" $16) '('"UTMContent" $16) '('"UTMMedium" $16) '('"UTMSource" $16) '('"UTMTerm" $16) '('"UserAgent" $15) '('"UserAgentMajor" $15) '('"UserAgentMinor" (DataType 'String)) '('"UserID" $19) '('"WatchID" $19) '($11 $15) '($12 $15) '('"WindowName" $17) '('"WithHash" $15)))
(let $21 '('('"_logical_id" '2294) '('"_id" '"f3dc8779-48e00e21-52f09292-1bceae12") '('"_wide_channels" $20)))
(let $22 (DqPhyStage '() (lambda '() (block '(
  (let $26 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $27 '('"AdvEngineID" '"Age" '"BrowserCountry" '"BrowserLanguage" '"CLID" '"ClientEventTime" '"ClientIP" '"ClientTimeZone" '"CodeVersion" '"ConnectTiming" '"CookieEnable" '"CounterClass" '"CounterID" '"DNSTiming" '"DontCountHits" '"EventDate" '"EventTime" '"FUniqID" '"FetchTiming" '"FlashMajor" '"FlashMinor" '"FlashMinor2" '"FromTag" '"GoodEvent" '"HID" '"HTTPError" '"HasGCLID" '"HistoryLength" '"HitColor" '"IPNetworkID" '"Income" '"Interests" '"IsArtifical" '"IsDownload" '"IsEvent" '"IsLink" '"IsMobile" '"IsNotBounce" '"IsOldCounter" '"IsParameter" '"IsRefresh" '"JavaEnable" '"JavascriptEnable" '"LocalEventTime" '"MobilePhone" '"MobilePhoneModel" '"NetMajor" '"NetMinor" '"OS" '"OpenerName" '"OpenstatAdID" $1 $2 '"OpenstatSourceID" '"OriginalURL" '"PageCharset" '"ParamCurrency" '"ParamCurrencyID" '"ParamOrderID" '"ParamPrice" '"Params" '"Referer" $3 '"RefererHash" '"RefererRegionID" '"RegionID" '"RemoteIP" '"ResolutionDepth" '"ResolutionHeight" '"ResolutionWidth" $4 $5 '"Robotness" '"SearchEngineID" '"SearchPhrase" '"SendTiming" '"Sex" $6 $7 $8 $9 '"SocialAction" '"SocialNetwork" $10 '"SocialSourcePage" '"Title" '"TraficSourceID" '"URL" '"URLCategoryID" '"URLHash" '"URLRegionID" '"UTMCampaign" '"UTMContent" '"UTMMedium" '"UTMSource" '"UTMTerm" '"UserAgent" '"UserAgentMajor" '"UserAgentMinor" '"UserID" '"WatchID" $11 $12 '"WindowName" '"WithHash"))
  (let $28 (KqpBlockReadOlapTableRanges $26 (Void) $27 '() '() (lambda '($32) (block '(
    (let $33 '('string_contains '"URL" (String '"google")))
    (return (KqpOlapFilter $32 $33))
  )))))
  (let $29 (lambda '($34 $35 $36 $37 $38 $39 $40 $41 $42 $43 $44 $45 $46 $47 $48 $49 $50 $51 $52 $53 $54 $55 $56 $57 $58 $59 $60 $61 $62 $63 $64 $65 $66 $67 $68 $69 $70 $71 $72 $73 $74 $75 $76 $77 $78 $79 $80 $81 $82 $83 $84 $85 $86 $87 $88 $89 $90 $91 $92 $93 $94 $95 $96 $97 $98 $99 $100 $101 $102 $103 $104 $105 $106 $107 $108 $109 $110 $111 $112 $113 $114 $115 $116 $117 $118 $119 $120 $121 $122 $123 $124 $125 $126 $127 $128 $129 $130 $131 $132 $133 $134 $135 $136 $137 $138 $139) (block '(
    (let $140 (BlockAsStruct '('"AdvEngineID" $34) '('"Age" $35) '('"BrowserCountry" $36) '('"BrowserLanguage" $37) '('"CLID" $38) '('"ClientEventTime" $39) '('"ClientIP" $40) '('"ClientTimeZone" $41) '('"CodeVersion" $42) '('"ConnectTiming" $43) '('"CookieEnable" $44) '('"CounterClass" $45) '('"CounterID" $46) '('"DNSTiming" $47) '('"DontCountHits" $48) '('"EventDate" $49) '('"EventTime" $50) '('"FUniqID" $51) '('"FetchTiming" $52) '('"FlashMajor" $53) '('"FlashMinor" $54) '('"FlashMinor2" $55) '('"FromTag" $56) '('"GoodEvent" $57) '('"HID" $58) '('"HTTPError" $59) '('"HasGCLID" $60) '('"HistoryLength" $61) '('"HitColor" $62) '('"IPNetworkID" $63) '('"Income" $64) '('"Interests" $65) '('"IsArtifical" $66) '('"IsDownload" $67) '('"IsEvent" $68) '('"IsLink" $69) '('"IsMobile" $70) '('"IsNotBounce" $71) '('"IsOldCounter" $72) '('"IsParameter" $73) '('"IsRefresh" $74) '('"JavaEnable" $75) '('"JavascriptEnable" $76) '('"LocalEventTime" $77) '('"MobilePhone" $78) '('"MobilePhoneModel" $79) '('"NetMajor" $80) '('"NetMinor" $81) '('"OS" $82) '('"OpenerName" $83) '('"OpenstatAdID" $84) '($1 $85) '($2 $86) '('"OpenstatSourceID" $87) '('"OriginalURL" $88) '('"PageCharset" $89) '('"ParamCurrency" $90) '('"ParamCurrencyID" $91) '('"ParamOrderID" $92) '('"ParamPrice" $93) '('"Params" $94) '('"Referer" $95) '($3 $96) '('"RefererHash" $97) '('"RefererRegionID" $98) '('"RegionID" $99) '('"RemoteIP" $100) '('"ResolutionDepth" $101) '('"ResolutionHeight" $102) '('"ResolutionWidth" $103) '($4 $104) '($5 $105) '('"Robotness" $106) '('"SearchEngineID" $107) '('"SearchPhrase" $108) '('"SendTiming" $109) '('"Sex" $110) '($6 $111) '($7 $112) '($8 $113) '($9 $114) '('"SocialAction" $115) '('"SocialNetwork" $116) '($10 $117) '('"SocialSourcePage" $118) '('"Title" $119) '('"TraficSourceID" $120) '('"URL" $121) '('"URLCategoryID" $122) '('"URLHash" $123) '('"URLRegionID" $124) '('"UTMCampaign" $125) '('"UTMContent" $126) '('"UTMMedium" $127) '('"UTMSource" $128) '('"UTMTerm" $129) '('"UserAgent" $130) '('"UserAgentMajor" $131) '('"UserAgentMinor" $132) '('"UserID" $133) '('"WatchID" $134) '($11 $135) '($12 $136) '('"WindowName" $137) '('"WithHash" $138)))
    (return $140 $139)
  ))))
  (let $30 (Top (NarrowMap (ToFlow (WideFromBlocks (FromFlow (WideMap $28 $29)))) (lambda '($141) $141)) $13 $14 (lambda '($142) (Member $142 '"EventTime"))))
  (let $31 (lambda '($143) (Member $143 '"AdvEngineID") (Member $143 '"Age") (Member $143 '"BrowserCountry") (Member $143 '"BrowserLanguage") (Member $143 '"CLID") (Member $143 '"ClientEventTime") (Member $143 '"ClientIP") (Member $143 '"ClientTimeZone") (Member $143 '"CodeVersion") (Member $143 '"ConnectTiming") (Member $143 '"CookieEnable") (Member $143 '"CounterClass") (Member $143 '"CounterID") (Member $143 '"DNSTiming") (Member $143 '"DontCountHits") (Member $143 '"EventDate") (Member $143 '"EventTime") (Member $143 '"FUniqID") (Member $143 '"FetchTiming") (Member $143 '"FlashMajor") (Member $143 '"FlashMinor") (Member $143 '"FlashMinor2") (Member $143 '"FromTag") (Member $143 '"GoodEvent") (Member $143 '"HID") (Member $143 '"HTTPError") (Member $143 '"HasGCLID") (Member $143 '"HistoryLength") (Member $143 '"HitColor") (Member $143 '"IPNetworkID") (Member $143 '"Income") (Member $143 '"Interests") (Member $143 '"IsArtifical") (Member $143 '"IsDownload") (Member $143 '"IsEvent") (Member $143 '"IsLink") (Member $143 '"IsMobile") (Member $143 '"IsNotBounce") (Member $143 '"IsOldCounter") (Member $143 '"IsParameter") (Member $143 '"IsRefresh") (Member $143 '"JavaEnable") (Member $143 '"JavascriptEnable") (Member $143 '"LocalEventTime") (Member $143 '"MobilePhone") (Member $143 '"MobilePhoneModel") (Member $143 '"NetMajor") (Member $143 '"NetMinor") (Member $143 '"OS") (Member $143 '"OpenerName") (Member $143 '"OpenstatAdID") (Member $143 $1) (Member $143 $2) (Member $143 '"OpenstatSourceID") (Member $143 '"OriginalURL") (Member $143 '"PageCharset") (Member $143 '"ParamCurrency") (Member $143 '"ParamCurrencyID") (Member $143 '"ParamOrderID") (Member $143 '"ParamPrice") (Member $143 '"Params") (Member $143 '"Referer") (Member $143 $3) (Member $143 '"RefererHash") (Member $143 '"RefererRegionID") (Member $143 '"RegionID") (Member $143 '"RemoteIP") (Member $143 '"ResolutionDepth") (Member $143 '"ResolutionHeight") (Member $143 '"ResolutionWidth") (Member $143 $4) (Member $143 $5) (Member $143 '"Robotness") (Member $143 '"SearchEngineID") (Member $143 '"SearchPhrase") (Member $143 '"SendTiming") (Member $143 '"Sex") (Member $143 $6) (Member $143 $7) (Member $143 $8) (Member $143 $9) (Member $143 '"SocialAction") (Member $143 '"SocialNetwork") (Member $143 $10) (Member $143 '"SocialSourcePage") (Member $143 '"Title") (Member $143 '"TraficSourceID") (Member $143 '"URL") (Member $143 '"URLCategoryID") (Member $143 '"URLHash") (Member $143 '"URLRegionID") (Member $143 '"UTMCampaign") (Member $143 '"UTMContent") (Member $143 '"UTMMedium") (Member $143 '"UTMSource") (Member $143 '"UTMTerm") (Member $143 '"UserAgent") (Member $143 '"UserAgentMajor") (Member $143 '"UserAgentMinor") (Member $143 '"UserID") (Member $143 '"WatchID") (Member $143 $11) (Member $143 $12) (Member $143 '"WindowName") (Member $143 '"WithHash")))
  (return (FromFlow (ExpandMap $30 $31)))
))) $21))
(let $23 (DqCnUnionAll (TDqOutput $22 '0)))
(let $24 (DqPhyStage '($23) (lambda '($144) (block '(
  (let $145 (WideTopSort (ToFlow $144) $13 '('('16 $14))))
  (return (FromFlow (NarrowMap $145 (lambda '($146 $147 $148 $149 $150 $151 $152 $153 $154 $155 $156 $157 $158 $159 $160 $161 $162 $163 $164 $165 $166 $167 $168 $169 $170 $171 $172 $173 $174 $175 $176 $177 $178 $179 $180 $181 $182 $183 $184 $185 $186 $187 $188 $189 $190 $191 $192 $193 $194 $195 $196 $197 $198 $199 $200 $201 $202 $203 $204 $205 $206 $207 $208 $209 $210 $211 $212 $213 $214 $215 $216 $217 $218 $219 $220 $221 $222 $223 $224 $225 $226 $227 $228 $229 $230 $231 $232 $233 $234 $235 $236 $237 $238 $239 $240 $241 $242 $243 $244 $245 $246 $247 $248 $249 $250) (AsStruct '('"AdvEngineID" $146) '('"Age" $147) '('"BrowserCountry" $148) '('"BrowserLanguage" $149) '('"CLID" $150) '('"ClientEventTime" $151) '('"ClientIP" $152) '('"ClientTimeZone" $153) '('"CodeVersion" $154) '('"ConnectTiming" $155) '('"CookieEnable" $156) '('"CounterClass" $157) '('"CounterID" $158) '('"DNSTiming" $159) '('"DontCountHits" $160) '('"EventDate" $161) '('"EventTime" $162) '('"FUniqID" $163) '('"FetchTiming" $164) '('"FlashMajor" $165) '('"FlashMinor" $166) '('"FlashMinor2" $167) '('"FromTag" $168) '('"GoodEvent" $169) '('"HID" $170) '('"HTTPError" $171) '('"HasGCLID" $172) '('"HistoryLength" $173) '('"HitColor" $174) '('"IPNetworkID" $175) '('"Income" $176) '('"Interests" $177) '('"IsArtifical" $178) '('"IsDownload" $179) '('"IsEvent" $180) '('"IsLink" $181) '('"IsMobile" $182) '('"IsNotBounce" $183) '('"IsOldCounter" $184) '('"IsParameter" $185) '('"IsRefresh" $186) '('"JavaEnable" $187) '('"JavascriptEnable" $188) '('"LocalEventTime" $189) '('"MobilePhone" $190) '('"MobilePhoneModel" $191) '('"NetMajor" $192) '('"NetMinor" $193) '('"OS" $194) '('"OpenerName" $195) '('"OpenstatAdID" $196) '($1 $197) '($2 $198) '('"OpenstatSourceID" $199) '('"OriginalURL" $200) '('"PageCharset" $201) '('"ParamCurrency" $202) '('"ParamCurrencyID" $203) '('"ParamOrderID" $204) '('"ParamPrice" $205) '('"Params" $206) '('"Referer" $207) '($3 $208) '('"RefererHash" $209) '('"RefererRegionID" $210) '('"RegionID" $211) '('"RemoteIP" $212) '('"ResolutionDepth" $213) '('"ResolutionHeight" $214) '('"ResolutionWidth" $215) '($4 $216) '($5 $217) '('"Robotness" $218) '('"SearchEngineID" $219) '('"SearchPhrase" $220) '('"SendTiming" $221) '('"Sex" $222) '($6 $223) '($7 $224) '($8 $225) '($9 $226) '('"SocialAction" $227) '('"SocialNetwork" $228) '($10 $229) '('"SocialSourcePage" $230) '('"Title" $231) '('"TraficSourceID" $232) '('"URL" $233) '('"URLCategoryID" $234) '('"URLHash" $235) '('"URLRegionID" $236) '('"UTMCampaign" $237) '('"UTMContent" $238) '('"UTMMedium" $239) '('"UTMSource" $240) '('"UTMTerm" $241) '('"UserAgent" $242) '('"UserAgentMajor" $243) '('"UserAgentMinor" $244) '('"UserID" $245) '('"WatchID" $246) '($11 $247) '($12 $248) '('"WindowName" $249) '('"WithHash" $250))))))
))) '('('"_logical_id" '2310) '('"_id" '"240b9246-99cc18bf-64509ed9-26b326d"))))
(let $25 (DqCnResult (TDqOutput $24 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($22 $24) '($25) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $20) '0 '0)) '('('"type" '"query"))))
)
