(
(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) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $12 '()) (lambda '($13 $14 $15) (block '(
    (let $16 (If (Coalesce (== (Size $15) (SafeCast (Int32 '"3") (OptionalType (DataType 'Int16)))) (Bool 'false)) (String '"JAR") $15))
    (return (AsStruct '('"key" $13) '('"subkey" $14) '('"value" $16)))
  ))))))
))) '('('"_logical_id" '704) '('"_id" '"ce4809b6-fd7448d9-51cd4486-a28e581"))))
(let $3 (DqCnUnionAll (TDqOutput $2 '0)))
(let $4 (DqPhyStage '($3) (lambda '($17) $17) '('('"_logical_id" '756) '('"_id" '"3a193a65-eddc6466-7c7e5f79-211155d2"))))
(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"))))
)
