(
(let $1 (DataType 'Uint64))
(let $2 '('('"_logical_id" '1393) '('"_id" '"a849248a-2a4f0fc4-7787266b-a2633e6") '('"_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 '($9) (TKqpOlapAgg $9 '('('_yql_agg_0 '"count" '"*")) '()))))
  (return (WideFromBlocks (FromFlow $8)))
))) $2))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($10) (block '(
  (let $11 (Bool 'false))
  (let $12 (WideCondense1 (ToFlow $10) (lambda '($14) $14) (lambda '($15 $16) $11) (lambda '($17 $18) (AggrAdd $17 $18))))
  (let $13 (Condense (NarrowMap (Take $12 (Uint64 '1)) (lambda '($19) (AsStruct '('Count0 $19)))) (Nothing (OptionalType (StructType '('Count0 $1)))) (lambda '($20 $21) $11) (lambda '($22 $23) (Just $22))))
  (return (FromFlow (Map $13 (lambda '($24) (AsStruct '('"column0" (Coalesce (Member $24 'Count0) (Uint64 '0))))))))
))) '('('"_logical_id" '2070) '('"_id" '"3ea8e8c0-79a49ee7-e2154a32-90d7a037"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $1))) '0 '0)) '('('"type" '"query"))))
)
