(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $3 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $2)))
(let $4 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $5 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 (DataType 'String))
(let $8 (StructType '('"key" $7) '('"value" $7)))
(let $9 '('"_wide_channels" $8))
(let $10 '('('"_logical_id" '1909) '('"_id" '"81114f40-b5eae273-44f0a98b-d9efec17") $9))
(let $11 (DqPhyStage '() (lambda '() (block '(
  (let $34 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"key" '"value") (Void) (Void))) '()))))
  (let $35 (lambda '($36 $37) $36 (Concat $37 (String '"a"))))
  (return (FromFlow (WideMap (DqReadWideWrap $34 '()) $35)))
))) $10))
(let $12 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"key") (Void) (Void))) '()))))
(let $13 (DqReadWideWrap $12 '()))
(let $14 (lambda '() (block '(
  (let $38 (lambda '($39) $39 (String '1)))
  (return (FromFlow (WideMap $13 $38)))
))))
(let $15 '('"_logical_id" '2221))
(let $16 '($15 '('"_id" '"15524c5a-1ed4d77b-bbd32d5-d0932a6e") $9))
(let $17 (DqPhyStage '() $14 $16))
(let $18 '($15 '('"_id" '"2b8c5644-3ee9bb81-7a24f652-d25f9e4c") $9))
(let $19 (DqPhyStage '() $14 $18))
(let $20 '($15 '('"_id" '"52869096-2820734d-e8723a67-1c598368") $9))
(let $21 (DqPhyStage '() (lambda '() (block '(
  (let $40 (lambda '($41) $41 (String '"3")))
  (return (FromFlow (WideMap $13 $40)))
))) $20))
(let $22 (DqCnParallelUnionAll (TDqOutput $11 '0)))
(let $23 (DqCnParallelUnionAll (TDqOutput $17 '0)))
(let $24 (DqCnParallelUnionAll (TDqOutput $19 '0)))
(let $25 (DqCnParallelUnionAll (TDqOutput $21 '0)))
(let $26 '($22 $23 $24 $25))
(let $27 (lambda '($50 $51) (AsStruct '('"key" $50) '('"value" $51))))
(let $28 '('('"_logical_id" '2171) '('"_id" '"bad4edc7-d8ab13e-215aaf9-f1b2f7bc") $9))
(let $29 (DqPhyStage $26 (lambda '($42 $43 $44 $45) (block '(
  (let $46 (Extend (NarrowMap (ToFlow $42) $27) (NarrowMap (ToFlow $43) $27) (NarrowMap (ToFlow $44) $27) (NarrowMap (ToFlow $45) $27)))
  (let $47 (Bool 'true))
  (let $48 (Sort $46 '($47 $47) (lambda '($52) '((Member $52 '"key") (Member $52 '"value")))))
  (let $49 (lambda '($53) (Member $53 '"key") (Member $53 '"value")))
  (return (FromFlow (ExpandMap $48 $49)))
))) $28))
(let $30 (DqCnMerge (TDqOutput $29 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $31 (DqPhyStage '($30) (lambda '($54) (FromFlow (NarrowMap (ToFlow $54) $27))) '('('"_logical_id" '2183) '('"_id" '"e9bb1f3c-15be5559-4d8519bd-69796377"))))
(let $32 '($11 $17 $19 $21 $29 $31))
(let $33 (DqCnResult (TDqOutput $31 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $32 '($33) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $8) '0 '0)) '('('"type" '"query"))))
)
