(
(let $1 (DataType 'String))
(let $2 (OptionalType $1))
(let $3 (DataType 'Int32))
(let $4 (OptionalType $3))
(let $5 (StructType '('"B" (OptionalType (StructType '('"D" (OptionalType (StructType '('"Data" $2) '('"Es" (OptionalType (ListType $3)))))) '('"Value" $4))))))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $10 '@@["StructType";[["key";["DataType";"String"]];["subkey";["StructType";[["b";["OptionalType";["DataType";"Int32"]]];["a";["DataType";"String"]];["c";["DataType";"String"]]]]]]]@@)
  (let $11 (YqlRowSpec '('NativeYtTypeFlags '1) '('StrictSchema '1) '('UniqueKeys '0) '('Type $10)))
  (let $12 '"{\"name\":\"TA\",\"meta\":\"H4sIAAAAAAAAA42Puw6CQBBFszw0DEp0Y4E2GmyolriJHyAPS6rVflFMTBCUR8Hn+KcuD0ui3WRy59wzcIJ1co9yntfOM8/KLKpuTv1KnKp0rqTdWBQk5uM5SEFhKhvZNqhKmE8CPAHF5yU30QbZmqUDCvAIpONuhmA/jL30WCywXsMI+SPuGJAOn0XdGVZDFhfl6qf1VuBdPAX1zJOq46vYAOSbkhh1Kosf4I2GC/mfhb3YcOD78EoYHfACkNva6FQjLZow11rCmJ3SqoivjaPXB4Sj9wEBmoL3ogEAAA==\",\"lists\":{\"optional\":true}}")
  (let $13 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"_yql_proto_field_key" $12)))))
  (let $14 (YtStat '('Id '"Input") '('RecordsCount '1) '('DataSize '"86") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $15 (YtTable '"Input" $11 $13 $14 '('('"ignore_type_v3")) (Void) (Void) '"/Root/plato"))
  (let $16 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $15 '('"key" '"subkey") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $16 '()) (lambda '($17 $18) (block '(
    (let $19 (ResourceType '"Yson2.Node"))
    (let $20 '($19 '"" '1))
    (let $21 (ResourceType '"Yson2.Options"))
    (let $22 (CallableType '('1) '($2) $20 '($1) '((OptionalType $21))))
    (let $23 (Udf '"Yson2.LookupString" (Void) (VoidType) '"" $22 (VoidType) '"" '()))
    (let $24 (StructType '('"a" $1) '('"b" $4) '('"c" $1)))
    (let $25 (TupleType (TupleType $24) (StructType) (TupleType)))
    (let $26 (CallableType '() '($19) '($24)))
    (let $27 '('('"strict")))
    (let $28 (Udf '"Yson2.From" (Void) $25 '"" $26 (VoidType) '"" $27))
    (let $29 (OptionalType (DataType 'Bool)))
    (let $30 (CallableType '('"2") '($21) '($29 '"AutoConvert") '($29 '"Strict")))
    (let $31 (Udf '"Yson2.Options" (Void) (VoidType) '"" $30 (VoidType) '"" $27))
    (let $32 (Apply $23 (Apply $28 $18) (String '"a") (Just (NamedApply $31 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool '"true"))))))))
    (let $33 '($1 '"" '1))
    (let $34 (CallableType '() '($5) $33))
    (let $35 (Udf '"Protobuf.Parse" (Void) (VoidType) $12 $34 (VoidType) '"" '()))
    (return (AsStruct '('"a" $32) '('"key" (Apply $35 $17))))
  ))))))
))) '('('"_logical_id" '1413) '('"_id" '"154682c6-2f9b4b16-d4033d9a-3c851678"))))
(let $7 (DqCnUnionAll (TDqOutput $6 '0)))
(let $8 (DqPhyStage '($7) (lambda '($36) $36) '('('"_logical_id" '1463) '('"_id" '"b856be5a-1fec7081-91b04224-82213896"))))
(let $9 (DqCnResult (TDqOutput $8 '0) '('"key" '"a")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($6 $8) '($9) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"a" $2) '('"key" $5))) '0 '0)) '('('"type" '"query"))))
)
