(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '1039) '('"_id" '"fc47031a-e7f4dbe8-add5c869-994ce00a") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (Bool 'true))
  (let $10 '($9 $9 $9))
  (let $11 '('"key" '"subkey" '"value"))
  (let $12 '($1 $1 $1))
  (let $13 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8) '('SortDirections $10) '('SortMembers $11) '('SortedBy $11) '('SortedByTypes $12)))
  (let $14 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $15 (YtStat '('Id '"Input") '('RecordsCount '"6") '('DataSize '"252") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $16 (YtTable '"Input" $13 $14 $15 '() (Void) (Void) '"/Root/plato"))
  (let $17 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $16 $11 (Void) (Void))) '('('"unordered"))))))
  (return (FromFlow (WideSort (WideFilter (DqReadWideWrap $17 '()) (lambda '($18 $19 $20) (block '(
    (let $21 (Or (== $18 (String '"023")) (== $18 (String '"075")) (== $18 (String '"150"))))
    (return (And $21 (Or (== $19 (String '1)) (== $19 (String '"3"))) (>= $20 (String '"aaa")) (<= $20 (String '"zzz"))))
  )))) '('('0 $9) '('1 $9)))))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($22) (FromFlow (NarrowMap (ToFlow $22) (lambda '($23 $24 $25) (AsStruct '('"key" $23) '('"subkey" $24) '('"value" $25)))))) '('('"_logical_id" '1051) '('"_id" '"ddd53f00-31828a3c-82a3e853-ebfdbda6"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
