(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '('NativeYtTypeFlags '0))
(let $3 '('StrictSchema '1))
(let $4 '('UniqueKeys '0))
(let $5 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $6 '('Type $5))
(let $7 (Bool 'true))
(let $8 '($7 $7))
(let $9 (DataType 'String))
(let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $11 '('RecordsCount '"4"))
(let $12 '('ChunkCount '1))
(let $13 '('ModifyTime '0))
(let $14 '('Revision '0))
(let $15 (StructType '('"key" $9) '('"value" $9)))
(let $16 '('"_wide_channels" $15))
(let $17 '('('"_logical_id" '2490) '('"_id" '"f2b8b3bb-32104f9d-76410b00-53a152f1") $16))
(let $18 (DqPhyStage '() (lambda '() (block '(
  (let $43 '('"key" '"subkey"))
  (let $44 (YqlRowSpec $2 $3 $4 $6 '('SortDirections $8) '('SortMembers $43) '('SortedBy $43) '('SortedByTypes '($9 $9))))
  (let $45 (YtStat '('Id '"Input1") $11 '('DataSize '"168") $12 $13 $14))
  (let $46 (YtTable '"Input1" $44 $10 $45 '() (Void) (Void) '"/Root/plato"))
  (let $47 (YtReadTable! world $1 '((YtSection '((YtPath $46 '('"key" '"value") (Void) (Void))) '('('"unordered"))))))
  (let $48 (lambda '($49 $50) $49 (Concat $50 (String '"a"))))
  (return (FromFlow (WideMap (DqReadWideWrap $47 '()) $48)))
))) $17))
(let $19 (YqlRowSpec $2 $3 $4 $6))
(let $20 '('DataSize '"166"))
(let $21 '('"key"))
(let $22 '('('"_logical_id" '2515) '('"_id" '"5efe9e57-5ecbc06-89964504-bb42655f") $16))
(let $23 (DqPhyStage '() (lambda '() (block '(
  (let $51 (YtStat '('Id '"Input2") $11 $20 $12 $13 $14))
  (let $52 (YtTable '"Input2" $19 $10 $51 '() (Void) (Void) '"/Root/plato"))
  (let $53 (YtReadTable! world $1 '((YtSection '((YtPath $52 $21 (Void) (Void))) '()))))
  (let $54 (lambda '($55) $55 (String '1)))
  (return (FromFlow (WideMap (DqReadWideWrap $53 '()) $54)))
))) $22))
(let $24 '('('"_logical_id" '2540) '('"_id" '"2f1e4c10-e80d95c8-aed3894e-d9fd1f5d") $16))
(let $25 (DqPhyStage '() (lambda '() (block '(
  (let $56 (YtStat '('Id '"Input3") $11 $20 $12 $13 $14))
  (let $57 (YtTable '"Input3" $19 $10 $56 '() (Void) (Void) '"/Root/plato"))
  (let $58 (YtReadTable! world $1 '((YtSection '((YtPath $57 $21 (Void) (Void))) '()))))
  (let $59 (lambda '($60) $60 (String '"2")))
  (return (FromFlow (WideMap (DqReadWideWrap $58 '()) $59)))
))) $24))
(let $26 '('('"_logical_id" '2565) '('"_id" '"55f272dd-b4183511-b32e1409-4fed35df") $16))
(let $27 (DqPhyStage '() (lambda '() (block '(
  (let $61 (YtStat '('Id '"Input4") $11 $20 $12 $13 $14))
  (let $62 (YtTable '"Input4" $19 $10 $61 '() (Void) (Void) '"/Root/plato"))
  (let $63 (YtReadTable! world $1 '((YtSection '((YtPath $62 $21 (Void) (Void))) '()))))
  (let $64 (lambda '($65) $65 (String '"3")))
  (return (FromFlow (WideMap (DqReadWideWrap $63 '()) $64)))
))) $26))
(let $28 '('('"_logical_id" '2590) '('"_id" '"3728019a-416b1a19-826d65dd-1711b5cb") $16))
(let $29 (DqPhyStage '() (lambda '() (block '(
  (let $66 (YtStat '('Id '"Input5") $11 $20 $12 $13 $14))
  (let $67 (YtTable '"Input5" $19 $10 $66 '() (Void) (Void) '"/Root/plato"))
  (let $68 (YtReadTable! world $1 '((YtSection '((YtPath $67 $21 (Void) (Void))) '()))))
  (let $69 (lambda '($70) $70 (String '"4")))
  (return (FromFlow (WideMap (DqReadWideWrap $68 '()) $69)))
))) $28))
(let $30 (DqCnParallelUnionAll (TDqOutput $18 '0)))
(let $31 (DqCnParallelUnionAll (TDqOutput $23 '0)))
(let $32 (DqCnParallelUnionAll (TDqOutput $25 '0)))
(let $33 (DqCnParallelUnionAll (TDqOutput $27 '0)))
(let $34 (DqCnParallelUnionAll (TDqOutput $29 '0)))
(let $35 '($30 $31 $32 $33 $34))
(let $36 (lambda '($79 $80) (AsStruct '('"key" $79) '('"value" $80))))
(let $37 '('('"_logical_id" '2723) '('"_id" '"f496d4fc-c76d0e5e-5b91f947-26c3108f") $16))
(let $38 (DqPhyStage $35 (lambda '($71 $72 $73 $74 $75) (block '(
  (let $76 (Extend (NarrowMap (ToFlow $71) $36) (NarrowMap (ToFlow $72) $36) (NarrowMap (ToFlow $73) $36) (NarrowMap (ToFlow $74) $36) (NarrowMap (ToFlow $75) $36)))
  (let $77 (Sort $76 $8 (lambda '($81) '((Member $81 '"key") (Member $81 '"value")))))
  (let $78 (lambda '($82) (Member $82 '"key") (Member $82 '"value")))
  (return (FromFlow (ExpandMap $77 $78)))
))) $37))
(let $39 (DqCnMerge (TDqOutput $38 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $40 (DqPhyStage '($39) (lambda '($83) (FromFlow (NarrowMap (ToFlow $83) $36))) '('('"_logical_id" '2735) '('"_id" '"99d42cd2-bc1c32d6-fe72efb1-2ef2fbfc"))))
(let $41 '($18 $23 $25 $27 $29 $38 $40))
(let $42 (DqCnResult (TDqOutput $40 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $41 '($42) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $15) '0 '0)) '('('"type" '"query"))))
)
