(
(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 (DataType 'Bool))
    (let $17 (OptionalType (StructType '('"CaseSensitive" $16) '('"DotNl" $16) '('"Literal" $16) '('"LogErrors" $16) '('"LongestMatch" $16) '('"MaxMem" (DataType 'Uint64)) '('"NeverCapture" $16) '('"NeverNl" $16) '('"OneLine" $16) '('"PerlClasses" $16) '('"PosixSyntax" $16) '('"Utf8" $16) '('"WordBoundary" $16))))
    (let $18 (CallableType '() '($16) '((OptionalType $2))))
    (let $19 (Udf '"Re2.Grep" '((String '"^a") (Nothing $17)) (VoidType) '"" $18 (TupleType $2 $17) '"" '()))
    (return (Apply $19 (Just $15)))
  )))) (lambda '($20 $21 $22) (AsStruct '('"key" $20) '('"subkey" $21) '('"value" $22))))))
))) '('('"_logical_id" '797) '('"_id" '"68f7ec92-a111ecd9-71e8afa2-e66a645"))))
(let $4 (DqCnUnionAll (TDqOutput $3 '0)))
(let $5 (DqPhyStage '($4) (lambda '($23) $23) '('('"_logical_id" '840) '('"_id" '"f2d04203-6dc89fcd-dd030885-44853ecb"))))
(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"))))
)
