(
(let $1 (DqPhyStage '() (lambda '() (block '(
  (let $6 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $7 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $6)))
  (let $8 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $9 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $10 (YtTable '"Input" $7 $8 $9 '() (Void) (Void) '"/Root/plato"))
  (let $11 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $10 '('"key" '"value") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $11 '()) (lambda '($12 $13) (block '(
    (let $14 (AsDict '((String '"911") (String '"emergency")) '((String '"200") (String '"two hundred")) '((String '"150") (String '"one and half hundred")) '((String '"023") (String '"funny")) '((String '"075") (String '"3/4 of hundred"))))
    (return (AsStruct '('"key_text" (Coalesce (Lookup $14 $12) (String '"unknown"))) '('"value" $13)))
  ))))))
))) '('('"_logical_id" '647) '('"_id" '"a86e5557-9e307c44-f90e603b-9603f568"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($15) $15) '('('"_logical_id" '695) '('"_id" '"79358ef5-c556b915-6d10c7f7-49031059"))))
(let $4 (DqCnResult (TDqOutput $3 '0) '('"value" '"key_text")))
(let $5 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($4) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key_text" $5) '('"value" $5))) '0 '0)) '('('"type" '"query"))))
)
