(
(let $1 (DataType 'Uint64))
(let $2 '('('"_logical_id" '1393) '('"_id" '"153e9b59-ebc11270-7b0374d1-7b051599") '('"_wide_channels" (StructType '('_yql_agg_0 $1)))))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $7 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $8 (KqpBlockReadOlapTableRanges $7 (Void) '('"CounterID") '() '() (lambda '($10) (TKqpOlapAgg $10 '('('_yql_agg_0 '"count" '"*")) '()))))
  (let $9 (lambda '($11 $12) (BlockMember (BlockAsStruct '('_yql_agg_0 $11)) '_yql_agg_0) $12))
  (return (WideFromBlocks (FromFlow (WideMap $8 $9))))
))) $2))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($13) (block '(
  (let $14 (Bool 'false))
  (let $15 (WideCondense1 (ToFlow $13) (lambda '($17) $17) (lambda '($18 $19) $14) (lambda '($20 $21) (AggrAdd $20 $21))))
  (let $16 (Condense (NarrowMap (Take $15 (Uint64 '1)) (lambda '($22) (AsStruct '('Count0 $22)))) (Nothing (OptionalType (StructType '('Count0 $1)))) (lambda '($23 $24) $14) (lambda '($25 $26) (Just $25))))
  (return (FromFlow (Map $16 (lambda '($27) (AsStruct '('"column0" (Coalesce (Member $27 'Count0) (Uint64 '0))))))))
))) '('('"_logical_id" '2070) '('"_id" '"33073a65-f7a7d34c-8b371c03-cacac84f"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $1))) '0 '0)) '('('"type" '"query"))))
)
