(
(let $1 (DataType 'Int64))
(let $2 (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") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $11 '()) (lambda '($12) (block '(
    (let $13 (/ (SafeCast $12 (OptionalType $1)) (Int32 '"100")))
    (let $14 (Int64 '-1))
    (let $15 (If (Coalesce (< $13 (Int32 '"5")) (Bool 'false)) (Coalesce $13 $14) $14))
    (return (AsStruct '('"column0" $15) '('"key" $12)))
  ))))))
))) '('('"_logical_id" '979) '('"_id" '"53f62ccd-240abec8-6884f748-28db3517"))))
(let $3 (DqCnUnionAll (TDqOutput $2 '0)))
(let $4 (DqPhyStage '($3) (lambda '($16) $16) '('('"_logical_id" '1032) '('"_id" '"d927067c-920a9de-88bdbaa0-9e9b09d9"))))
(let $5 (DqCnResult (TDqOutput $4 '0) '('"column0" '"key")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($2 $4) '($5) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $1) '('"key" (DataType 'String)))) '0 '0)) '('('"type" '"query"))))
)
