(
(let $1 '('"key" '"subkey" '"value"))
(let $2 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $8 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $7)))
  (let $9 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $10 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $11 (YtTable '"Input" $8 $9 $10 '() (Void) (Void) '"/Root/plato"))
  (let $12 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $11 $1 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $12 '()) (lambda '($13 $14 $15) (block '(
    (let $16 (If (!= $15 $14) (String '"WAT") $15))
    (return (AsStruct '('"key" $13) '('"subkey" $14) '('"value" $16)))
  ))))))
))) '('('"_logical_id" '667) '('"_id" '"870365ae-d11bf7c9-bf94a7ab-eec96a8f"))))
(let $3 (DqCnUnionAll (TDqOutput $2 '0)))
(let $4 (DqPhyStage '($3) (lambda '($17) $17) '('('"_logical_id" '715) '('"_id" '"efe9e177-67ed47cb-104b6db1-e3d88282"))))
(let $5 (DqCnResult (TDqOutput $4 '0) $1))
(let $6 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($2 $4) '($5) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $6) '('"subkey" $6) '('"value" $6))) '0 '0)) '('('"type" '"query"))))
)
