(
(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 '('"key"))
(let $8 (DqPhyStage '() (lambda '() (block '(
  (let $24 (YtReadTable! world $1 '((YtSection '((YtPath $6 $7 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $24 '()) (lambda '($25) (AsStruct '('"key" $25))))))
))) '('('"_logical_id" '1006) '('"_id" '"32a43c7a-9d5a4e14-7a40092c-6bed1e05"))))
(let $9 (DqCnUnionAll (TDqOutput $8 '0)))
(let $10 (DqPhyStage '($9) (lambda '($26) $26) '('('"_logical_id" '1089) '('"_id" '"6ae9a0cf-16ef466b-11ddea80-1a2342f0"))))
(let $11 (DqCnResult (TDqOutput $10 '0) $7))
(let $12 '('('"type" '"generic")))
(let $13 (KqpPhysicalTx '($8 $10) '($11) '() $12))
(let $14 '('"key" '"subkey" '"value"))
(let $15 (DqPhyStage '() (lambda '() (block '(
  (let $27 (YtReadTable! world $1 '((YtSection '((YtPath $6 $14 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $27 '()) (lambda '($28 $29 $30) (AsStruct '('"key" $28) '('"subkey" $29) '('"value" $30))))))
))) '('('"_logical_id" '1044) '('"_id" '"45feedaa-e9e58c34-2028870e-e2ee8fb"))))
(let $16 (DqCnUnionAll (TDqOutput $15 '0)))
(let $17 (DqPhyStage '($16) (lambda '($31) $31) '('('"_logical_id" '1192) '('"_id" '"5063cbc2-3338896d-4e133644-7744d6ad"))))
(let $18 (DqCnResult (TDqOutput $17 '0) $14))
(let $19 (KqpPhysicalTx '($15 $17) '($18) '() $12))
(let $20 (DataType 'String))
(let $21 '('"key" $20))
(let $22 (KqpTxResultBinding (ListType (StructType $21)) '0 '0))
(let $23 (KqpTxResultBinding (ListType (StructType $21 '('"subkey" $20) '('"value" $20))) '1 '0))
(return (KqpPhysicalQuery '($13 $19) '($22 $23) '('('"type" '"query"))))
)
