(
(let $1 (DataType 'String))
(let $2 (Uint64 '10))
(let $3 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $4 '('('"_logical_id" '800) '('"_id" '"280b5cf-db83c6b7-5d8055df-e4ce5162") '('"_wide_channels" $3)))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $10 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9)))
  (let $11 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $12 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"key" '"subkey" '"value"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void))) '()))))
  (return (FromFlow (WideFilter (DqReadWideWrap $15 '()) (lambda '($16 $17 $18) (block '(
    (let $19 (CallableType '() '((DataType 'Bool)) '((OptionalType $1))))
    (let $20 (Udf '"Pire.Match" (String '".*abc") (VoidType) '"" $19 $1 '"" '()))
    (return (Apply $20 (Just $18)))
  ))) $2)))
))) $4))
(let $6 (DqCnUnionAll (TDqOutput $5 '0)))
(let $7 (DqPhyStage '($6) (lambda '($21) (FromFlow (NarrowMap (Take (ToFlow $21) $2) (lambda '($22 $23 $24) (AsStruct '('"key" $22) '('"subkey" $23) '('"value" $24)))))) '('('"_logical_id" '813) '('"_id" '"d0c070d6-971a6171-f597adb1-e7638dc4"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
