(
(let $1 (DataType 'Uint64))
(let $2 '('('"_logical_id" '1393) '('"_id" '"d4e27f63-3971bed-6137673f-9fdb3fb5") '('"_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" '"db43c42a-da8c746f-c19c8ab9-84b5398b"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $1))) '0 '0)) '('('"type" '"query"))))
)
