(
(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 '('"key" '"subkey" '"value"))
  (let $12 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $10 $11 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $12 '()) (lambda '($13 $14 $15) (block '(
    (let $16 (OptionalType (DataType 'Int32)))
    (let $17 (Int32 '0))
    (let $18 (== (Coalesce (SafeCast $13 $16) $17) (Int32 '"800")))
    (let $19 (Coalesce (SafeCast $14 $16) $17))
    (return (Or (And $18 (== $19 (Int32 '1))) (And $18 (== $19 (Int32 '"2"))) (And $18 (== $19 (Int32 '"3"))) (And $18 (== $19 (Int32 '"4")))))
  )))) (lambda '($20 $21 $22) (AsStruct '('"key" $20) '('"subkey" $21) '('"value" $22))))))
))) '('('"_logical_id" '820) '('"_id" '"43809b75-98a1673c-e77dd912-e7aec403"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($23) $23) '('('"_logical_id" '871) '('"_id" '"66eadcc7-ea3b9125-f43fb8d5-2145188"))))
(let $4 (DqCnResult (TDqOutput $3 '0) '()))
(let $5 (DataType 'String))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($4) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $5) '('"subkey" $5) '('"value" $5))) '0 '0)) '('('"type" '"query"))))
)
