(
(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 '"Input1") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $6 (YtTable '"Input1" $3 $4 $5 '() (Void) (Void) '"/Root/plato"))
(let $7 '('"key"))
(let $8 (DataType 'String))
(let $9 '('('"_logical_id" '1710) '('"_id" '"95e066c9-d6d3ad83-42e5756d-dbe41b94") '('"_wide_channels" (StructType '('"key" $8)))))
(let $10 (DqPhyStage '() (lambda '() (block '(
  (let $22 (YtReadTable! world $1 '((YtSection '((YtPath $6 $7 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $22 '())))
))) $9))
(let $11 (DqCnBroadcast (TDqOutput $10 '0)))
(let $12 '('One 'Hashed 'Compact))
(let $13 '('0))
(let $14 '('('"_logical_id" '1787) '('"_id" '"9cdbd64-dafeb51d-1894993-4f4bc495") '('"_wide_channels" (StructType '('"u.key" $8) '('"u.subkey" $8)))))
(let $15 (DqPhyStage '($11) (lambda '($23) (block '(
  (let $24 (NarrowSqueezeToDict (ToFlow $23) (lambda '($25) $25) (lambda '($26) (Void)) $12))
  (return (FromFlow (FlatMap $24 (lambda '($27) (block '(
    (let $28 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"key" '"subkey") (Void) (Void))) '()))))
    (let $29 '('0 '0 '1 '1))
    (return (MapJoinCore (DqReadWideWrap $28 '()) $27 'LeftSemi $13 $7 $29 '() '('"u.key") '('"v.key")))
  ))))))
))) $14))
(let $16 (DqCnBroadcast (TDqOutput $15 '0)))
(let $17 (DqPhyStage '($16) (lambda '($30) (block '(
  (let $31 (NarrowSqueezeToDict (ToFlow $30) (lambda '($32 $33) $33) (lambda '($34 $35) (Void)) $12))
  (return (FromFlow (NarrowMap (FlatMap $31 (lambda '($36) (block '(
    (let $37 (YtReadTable! world $1 '((YtSection '((YtPath $6 '('"subkey" '"value") (Void) (Void))) '()))))
    (let $38 '('"u.subkey"))
    (return (MapJoinCore (DqReadWideWrap $37 '()) $36 'LeftSemi $13 $38 '('1 '0) '() '('"x.subkey") $38))
  )))) (lambda '($39) (AsStruct '('"x.value" $39))))))
))) '('('"_logical_id" '1866) '('"_id" '"8f169d44-bde400e3-91ed2333-9afc4820"))))
(let $18 (DqCnUnionAll (TDqOutput $17 '0)))
(let $19 (DqPhyStage '($18) (lambda '($40) $40) '('('"_logical_id" '2129) '('"_id" '"e4d91c7d-7438d8b6-b71906c6-20b5cd9b"))))
(let $20 '($10 $15 $17 $19))
(let $21 (DqCnResult (TDqOutput $19 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $20 '($21) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"x.value" $8))) '0 '0)) '('('"type" '"query"))))
)
