(
(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 '('ChunkCount '1))
(let $6 '('ModifyTime '0))
(let $7 '('Revision '0))
(let $8 '('"key" '"subkey"))
(let $9 (DataType 'String))
(let $10 '('('"_logical_id" '1853) '('"_id" '"6e43d327-655d1f31-948a3cd2-d07bc461") '('"_wide_channels" (StructType '('"key" $9) '('"subkey" $9)))))
(let $11 (DqPhyStage '() (lambda '() (block '(
  (let $27 (YtStat '('Id '"Input4") '('RecordsCount '"9") '('DataSize '"369") $5 $6 $7))
  (let $28 (YtTable '"Input4" $3 $4 $27 '() (Void) (Void) '"/Root/plato"))
  (let $29 (YtReadTable! world $1 '((YtSection '((YtPath $28 $8 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $29 '())))
))) $10))
(let $12 (DqCnBroadcast (TDqOutput $11 '0)))
(let $13 '('1))
(let $14 (lambda '($49 $50) $50 $49))
(let $15 (ListType $9))
(let $16 '('kk $9))
(let $17 '('('"_logical_id" '2047) '('"_id" '"142ee38d-5d1abd05-fb113e59-32a5a9d3") '('"_wide_channels" (StructType '('_yql_agg_0 $15) $16))))
(let $18 (DqPhyStage '($12) (lambda '($30) (block '(
  (let $31 (lambda '($34 $35) $34))
  (let $32 '('Many 'Hashed 'Compact))
  (let $33 (NarrowSqueezeToDict (ToFlow $30) $31 (lambda '($36 $37) (AsStruct '('"key" $36) '('"subkey" $37))) $32))
  (return (WideFromBlocks (DqPhyHashCombine (WideToBlocks (FromFlow (FlatMap $33 (lambda '($38) (block '(
    (let $39 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") $5 $6 $7))
    (let $40 (YtTable '"Input" $3 $4 $39 '() (Void) (Void) '"/Root/plato"))
    (let $41 (YtReadTable! world $1 '((YtSection '((YtPath $40 $8 (Void) (Void))) '()))))
    (return (MapJoinCore (DqReadWideWrap $41 '()) $38 'Inner $13 '('"key") '('0 '0) '('"subkey" '1) '('"a.subkey") '('"b.key")))
  )))))) '-1073741824 $31 (lambda '($42 $43 $44) (AsList $44)) (lambda '($45 $46 $47 $48) (Insert $48 $47)) $14)))
))) $17))
(let $19 (DqCnHashShuffle (TDqOutput $18 '0) $13 '0 '"HashV2"))
(let $20 (StructType '('"column1" $15) $16))
(let $21 '('('"_logical_id" '2625) '('"_id" '"dd92609b-e9ac7893-21c1990-474af289") '('"_wide_channels" $20)))
(let $22 (DqPhyStage '($19) (lambda '($51) (block '(
  (let $52 (WideCombiner (ToFlow $51) '"" (lambda '($53 $54) $54) (lambda '($55 $56 $57) $56) (lambda '($58 $59 $60 $61) (Extend $59 $61)) $14))
  (return (FromFlow (WideSort $52 '('('1 (Bool 'true))))))
))) $21))
(let $23 (DqCnMerge (TDqOutput $22 '0) '('('1 '"Asc"))))
(let $24 (DqPhyStage '($23) (lambda '($62) (FromFlow (NarrowMap (ToFlow $62) (lambda '($63 $64) (AsStruct '('"column1" $63) '('kk $64)))))) '('('"_logical_id" '2637) '('"_id" '"fbf403ec-fd217294-c503f330-a5b036fb"))))
(let $25 '($11 $18 $22 $24))
(let $26 (DqCnResult (TDqOutput $24 '0) '('kk '"column1")))
(return (KqpPhysicalQuery '((KqpPhysicalTx $25 '($26) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $20) '0 '0)) '('('"type" '"query"))))
)
