(
(let $1 (DataType 'Uint32))
(let $2 (DataType 'String))
(let $3 (StructType '('"Age" $1) '('"FirstName" $2) '('"LastName" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $11 (YtStat '('Id '"Input0") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input0" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 '('"key" '"subkey" '"value"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 $13 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $14 '()) (lambda '($15 $16 $17) (block '(
    (let $18 '($2))
    (let $19 (CallableType '() '($3) $18 $18 '($1)))
    (let $20 (Udf '"Person.New" (Void) (VoidType) '"" $19 (VoidType) '"" '()))
    (return (Apply $20 $15 $16 (Coalesce (SafeCast $17 (OptionalType $1)) (Uint32 '0))))
  ))))))
))) '('('"_logical_id" '573) '('"_id" '"36696219-192d95dc-2bd40524-d42f2298"))))
(let $5 (DqCnUnionAll (TDqOutput $4 '0)))
(let $6 (DqPhyStage '($5) (lambda '($21) $21) '('('"_logical_id" '621) '('"_id" '"1b5b309a-311122c8-6b75a8f1-430edfd1"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
