(
(let $1 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $2 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $1)))
(let $3 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $4 (YtStat '('Id '"Input") '('RecordsCount '"10") '('DataSize '"420") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $5 (YtTable '"Input" $2 $3 $4 '() (Void) (Void) '"/Root/plato"))
(let $6 '('"key" '"subkey" '"value"))
(let $7 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $5 $6 (Void) (Void))) '()))))
(let $8 (DataType 'String))
(let $9 '($8 '"" '1))
(let $10 (CallableType '() '($8) $9))
(let $11 '('('"blocks") '('"strict")))
(let $12 (lambda '($41 $42 $43) (AsStruct '('"key" $41) '('"subkey" $42) '('"value" $43))))
(let $13 (DqPhyStage '() (lambda '() (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $7 '()) (lambda '($37 $38 $39) (block '(
  (let $40 (Udf '"String.AsciiToLower" (Void) (VoidType) '"" $10 (VoidType) '"" $11))
  (return (And (> (AssumeNonStrict (Apply $40 $39)) (String '"aaa")) (== $38 (String '1))))
)))) $12))) '('('"_logical_id" '2639) '('"_id" '"450caae6-e3b9658d-b1ea80f2-956e0522"))))
(let $14 (DqCnUnionAll (TDqOutput $13 '0)))
(let $15 (DqPhyStage '($14) (lambda '($44) $44) '('('"_logical_id" '2866) '('"_id" '"b13bb247-930edc1b-b98a49cf-4495bf89"))))
(let $16 (DqCnResult (TDqOutput $15 '0) '()))
(let $17 '('('"type" '"generic")))
(let $18 (KqpPhysicalTx '($13 $15) '($16) '() $17))
(let $19 (Udf '"String.AsciiToUpper" (Void) (VoidType) '"" $10 (VoidType) '"" $11))
(let $20 (String '"ZZZ"))
(let $21 (DqPhyStage '() (lambda '() (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $7 '()) (lambda '($45 $46 $47) (And (== $46 (String '2)) (<= (AssumeNonStrict (Apply $19 $47)) $20)))) $12))) '('('"_logical_id" '2728) '('"_id" '"78337c57-ca132b24-43b43068-947054b9"))))
(let $22 (DqCnUnionAll (TDqOutput $21 '0)))
(let $23 (DqPhyStage '($22) (lambda '($48) $48) '('('"_logical_id" '3073) '('"_id" '"21ce471a-ea26ae1-af15a95e-587dfaf5"))))
(let $24 (DqCnResult (TDqOutput $23 '0) '()))
(let $25 (KqpPhysicalTx '($21 $23) '($24) '() $17))
(let $26 (DqPhyStage '() (lambda '() (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $7 '()) (lambda '($49 $50 $51) (block '(
  (let $52 (AssumeNonStrict (Apply $19 $51)))
  (return (And (>= $52 (String '"AAA")) (<= $52 $20) (== $50 (String '"3"))))
)))) $12))) '('('"_logical_id" '2818) '('"_id" '"4f0618d8-c7d9e76b-cca1abce-6a114b88"))))
(let $27 (DqCnUnionAll (TDqOutput $26 '0)))
(let $28 (DqPhyStage '($27) (lambda '($53) $53) '('('"_logical_id" '3268) '('"_id" '"b1953e94-647ca590-35c8e67-1537cb16"))))
(let $29 (DqCnResult (TDqOutput $28 '0) '()))
(let $30 (KqpPhysicalTx '($26 $28) '($29) '() $17))
(let $31 '($18 $25 $30))
(let $32 (ListType (StructType '('"key" $8) '('"subkey" $8) '('"value" $8))))
(let $33 (KqpTxResultBinding $32 '0 '0))
(let $34 (KqpTxResultBinding $32 '1 '0))
(let $35 (KqpTxResultBinding $32 '2 '0))
(let $36 '($33 $34 $35))
(return (KqpPhysicalQuery $31 $36 '('('"type" '"query"))))
)
