(
(let $1 (DataType 'String))
(let $2 (OptionalType $1))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"String"]];["subkey";["StructType";[["b";["OptionalType";["DataType";"Int32"]]];["a";["DataType";"String"]];["c";["DataType";"String"]]]]]]]@@)
  (let $8 (YqlRowSpec '('NativeYtTypeFlags '1) '('StrictSchema '1) '('UniqueKeys '0) '('Type $7)))
  (let $9 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0)))
  (let $10 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"218") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $11 (YtTable '"Input" $8 $9 $10 '('('"ignore_type_v3")) (Void) (Void) '"/Root/plato"))
  (let $12 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $11 '('"key" '"subkey") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $12 '()) (lambda '($13 $14) (block '(
    (let $15 (ResourceType '"Yson2.Node"))
    (let $16 '($15 '"" '1))
    (let $17 (ResourceType '"Yson2.Options"))
    (let $18 (CallableType '('1) '($2) $16 '($1) '((OptionalType $17))))
    (let $19 (Udf '"Yson2.LookupString" (Void) (VoidType) '"" $18 (VoidType) '"" '()))
    (let $20 (StructType '('"a" $1) '('"b" (OptionalType (DataType 'Int32))) '('"c" $1)))
    (let $21 (TupleType (TupleType $20) (StructType) (TupleType)))
    (let $22 (CallableType '() '($15) '($20)))
    (let $23 '('('"strict")))
    (let $24 (Udf '"Yson2.From" (Void) $21 '"" $22 (VoidType) '"" $23))
    (let $25 (OptionalType (DataType 'Bool)))
    (let $26 (CallableType '('"2") '($17) '($25 '"AutoConvert") '($25 '"Strict")))
    (let $27 (Udf '"Yson2.Options" (Void) (VoidType) '"" $26 (VoidType) '"" $23))
    (let $28 (Apply $19 (Apply $24 $14) (String '"a") (Just (NamedApply $27 '() (AsStruct '('"AutoConvert" (Just (Bool '"false"))) '('"Strict" (Just (Bool '"true"))))))))
    (return (AsStruct '('"a" $28) '('"key" $13)))
  ))))))
))) '('('"_logical_id" '1199) '('"_id" '"c30167ba-545a5ac1-7d232e37-131ffcb6"))))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($29) $29) '('('"_logical_id" '1247) '('"_id" '"982a884-b1443e8b-a06733fb-9c2f96df"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"key" '"a")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"a" $2) '('"key" $1))) '0 '0)) '('('"type" '"query"))))
)
