(
(let $1 (Bool 'false))
(let $2 (lambda '($30) $30))
(let $3 (DataType 'Uint64))
(let $4 '('('"_logical_id" '839) '('"_id" '"c099e661-cd8b4a12-ed639ade-b8804b43") '('"_wide_channels" (StructType '('_yql_agg_0 $3)))))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $14 '@@["StructType";[["key";["DataType";"Uint64"]];["subkey";["DataType";"Uint64"]]]]@@)
  (let $15 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $14)))
  (let $16 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $17 (YtStat '('Id '"Input") '('RecordsCount '"3") '('DataSize '"78") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $18 (YtTable '"Input" $15 $16 $17 '() (Void) (Void) '"/Root/plato"))
  (let $19 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $18 '('"key" '"subkey") (Void) (Void) (Void))) '()))))
  (let $20 (Condense1 (NarrowMap (WideFilter (DqReadWideWrap $19 '()) (lambda '($21 $22) (!= $22 (Int32 '"5")))) (lambda '($23 $24) (AsStruct '('"key" $23)))) (lambda '($25) (Member $25 '"key")) (lambda '($26 $27) $1) (lambda '($28 $29) $29)))
  (return (FromFlow (ExpandMap $20 $2)))
))) $4))
(let $6 (DqCnUnionAll (TDqOutput $5 '0)))
(let $7 (StructType '('Some0 $3)))
(let $8 '('('"_logical_id" '1428) '('"_id" '"ac11a9f2-7c62337f-d2e6e551-c61c1fb5") '('"_partition_mode" '"aggregate") '('"_wide_channels" $7)))
(let $9 (DqPhyStage '($6) (lambda '($31) (FromFlow (WideCondense1 (ToFlow $31) $2 (lambda '($32 $33) $1) (lambda '($34 $35) $35)))) $8))
(let $10 (DqCnUnionAll (TDqOutput $9 '0)))
(let $11 (DqPhyStage '($10) (lambda '($36) (block '(
  (let $37 (Condense (NarrowMap (ToFlow $36) (lambda '($38) (AsStruct '('Some0 $38)))) (List (ListType $7)) (lambda '($39 $40) $1) (lambda '($41 $42) (AsList $41))))
  (return (FromFlow (Map $37 (lambda '($43) (AsStruct '('"column0" (Member (ToOptional $43) 'Some0)))))))
))) '('('"_logical_id" '1482) '('"_id" '"82ea7ec-3700e91a-b27e64a-865f3939"))))
(let $12 '($5 $9 $11))
(let $13 (DqCnResult (TDqOutput $11 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx $12 '($13) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" (OptionalType $3)))) '0 '0)) '('('"type" '"query"))))
)
