(
(let $1 (OptionalType (DataType 'Int32)))
(let $2 (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 '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 '('"subkey" '"value") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $13 '()) (lambda '($14 $15) (block '(
    (let $16 (SafeCast $14 $1))
    (return (AsStruct '('"dict" (AsDict '($15 $16))) '('"dynamic" (Just $16)) '('"static" (Just (String '"a")))))
  ))))))
))) '('('"_logical_id" '1064) '('"_id" '"b84edccf-47042971-798972ed-4e70e865"))))
(let $3 (DqCnUnionAll (TDqOutput $2 '0)))
(let $4 (DqPhyStage '($3) (lambda '($17) $17) '('('"_logical_id" '1112) '('"_id" '"cc0cb054-d10a24c7-d486ed36-9958447"))))
(let $5 '('"static" '"dynamic" '"dict"))
(let $6 (DqCnResult (TDqOutput $4 '0) $5))
(let $7 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($2 $4) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"dict" (DictType $7 $1)) '('"dynamic" (OptionalType $1)) '('"static" (OptionalType $7)))) '0 '0)) '('('"type" '"query"))))
)
