(
(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) '('HasRLS '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" '1870) '('"_id" '"7242d051-b8caa0e1-8b9913b2-e956f73b") '('"_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) (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" '2064) '('"_id" '"9460e240-5d9901ab-45631d7-c2ddac5d") '('"_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 (FromFlow (DqPhyHashCombine (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) (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" '2642) '('"_id" '"c59321f2-a491eda2-2abd1e-15735bd9") '('"_wide_channels" $20)))
(let $22 (DqPhyStage '($19) (lambda '($51) (block '(
  (let $52 (DqPhyHashCombine (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" '2654) '('"_id" '"5d9182cc-ab84499c-cb3d22ce-61b4d7d9"))))
(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"))))
)
