(
(let $1 (Uint64 '10))
(let $2 '('('2 (Bool 'true))))
(let $3 (DataType 'String))
(let $4 (StructType '('"key" $3) '('"subkey" $3) '('"value" $3)))
(let $5 '('"_wide_channels" $4))
(let $6 '('('"_logical_id" '902) '('"_id" '"efb9be94-3f09ef57-67911742-390eff2c") $5))
(let $7 (DqPhyStage '() (lambda '() (block '(
  (let $16 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $17 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $16)))
  (let $18 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $19 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $20 (YtTable '"Input" $17 $18 $19 '() (Void) (Void) '"/Root/plato"))
  (let $21 '('"key" '"subkey" '"value"))
  (let $22 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $20 $21 (Void) (Void))) '()))))
  (return (FromFlow (WideTop (DqReadWideWrap $22 '()) $1 $2)))
))) $6))
(let $8 (DqCnUnionAll (TDqOutput $7 '0)))
(let $9 (Coalesce (SafeCast (* (Double '"0.1") (Int32 '0)) (OptionalType (DataType 'Uint64))) (Uint64 '0)))
(let $10 '('('"_logical_id" '1006) '('"_id" '"54cbd642-d6aa966e-58a68b57-53036209") $5))
(let $11 (DqPhyStage '($8) (lambda '($23) (block '(
  (let $24 (WideTop (ToFlow $23) $1 $2))
  (return (FromFlow (WideFilter $24 (lambda '($25 $26 $27) (> $25 (String '"000"))) $9)))
))) $10))
(let $12 (DqCnUnionAll (TDqOutput $11 '0)))
(let $13 (DqPhyStage '($12) (lambda '($28) (FromFlow (NarrowMap (Take (ToFlow $28) $9) (lambda '($29 $30 $31) (AsStruct '('"key" $29) '('"subkey" $30) '('"value" $31)))))) '('('"_logical_id" '1019) '('"_id" '"1465d5a3-501c2117-457462c2-42274f5d"))))
(let $14 '($7 $11 $13))
(let $15 (DqCnResult (TDqOutput $13 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $14 '($15) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $4) '0 '0)) '('('"type" '"query"))))
)
