(
(let $1 '('"key" '"subkey" '"value"))
(let $2 (DataType 'String))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $8 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $7)))
  (let $9 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $10 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $11 (YtTable '"Input" $8 $9 $10 '() (Void) (Void) '"/Root/plato"))
  (let $12 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $11 $1 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $12 '()) (lambda '($13 $14 $15) (block '(
    (let $16 (String '"_"))
    (let $17 (Concat $15 $16))
    (let $18 '($2))
    (let $19 '((OptionalType $2)))
    (let $20 (CallableType '('1) $18 $18 $19))
    (let $21 (Udf '"Re2.PatternFromLike" (Void) (VoidType) '"" $20 (VoidType) '"" '()))
    (let $22 (Apply $21 (String '"_?_") (Just (String '"?"))))
    (let $23 (DataType 'Bool))
    (let $24 (DataType 'Uint64))
    (let $25 (StructType '('"CaseSensitive" $23) '('"DotNl" $23) '('"Literal" $23) '('"LogErrors" $23) '('"LongestMatch" $23) '('"MaxMem" $24) '('"NeverCapture" $23) '('"NeverNl" $23) '('"OneLine" $23) '('"PerlClasses" $23) '('"PosixSyntax" $23) '('"Utf8" $23) '('"WordBoundary" $23)))
    (let $26 (OptionalType $23))
    (let $27 (CallableType '('"13") '($25) '($26 '"Utf8") '($26 '"PosixSyntax") '($26 '"LongestMatch") '($26 '"LogErrors") '((OptionalType $24) '"MaxMem") '($26 '"Literal") '($26 '"NeverNl") '($26 '"DotNl") '($26 '"NeverCapture") '($26 '"CaseSensitive") '($26 '"PerlClasses") '($26 '"WordBoundary") '($26 '"OneLine")))
    (let $28 (Udf '"Re2.Options" (Void) (VoidType) '"" $27 (VoidType) '"" '('('"strict"))))
    (let $29 (CallableType '() '($23) $19))
    (return (Or (== $15 (String '"%z")) (And (EndsWith $17 $16) (Apply (AssumeStrict (Udf '"Re2.Match" '($22 (Just (NamedApply $28 '() (AsStruct '('"CaseSensitive" (Just (Bool '"true"))))))) (VoidType) '"" $29 (TupleType $2 (OptionalType $25)) '"" '())) (Just $17))) (== (Concat $15 (String '"!")) (String '"ddd!"))))
  )))) (lambda '($30 $31 $32) (AsStruct '('"key" $30) '('"subkey" $31) '('"value" $32))))))
))) '('('"_logical_id" '1009) '('"_id" '"8eb2d68a-6b950506-34cebfeb-fbcf018e"))))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($33) $33) '('('"_logical_id" '1059) '('"_id" '"9d1a6961-1915206b-9746361e-d339144b"))))
(let $6 (DqCnResult (TDqOutput $5 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"key" $2) '('"subkey" $2) '('"value" $2))) '0 '0)) '('('"type" '"query"))))
)
