(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '1161) '('"_id" '"bbaabf60-a50cd1c2-b6022a81-cbd2aed") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $10 (Bool 'true))
  (let $11 '($10 $10 $10))
  (let $12 '('"key" '"subkey" '"value"))
  (let $13 '($1 $1 $1))
  (let $14 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9) '('SortDirections $11) '('SortMembers $12) '('SortedBy $12) '('SortedByTypes $13)))
  (let $15 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $16 (YtStat '('Id '"Input") '('RecordsCount '"6") '('DataSize '"252") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $17 (YtTable '"Input" $14 $15 $16 '() (Void) (Void) '"/Root/plato"))
  (let $18 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $17 '('"key" '"value") (Void) (Void))) '('('"unordered"))))))
  (let $19 (Sort (NarrowMap (WideFilter (DqReadWideWrap $18 '()) (lambda '($21 $22) (block '(
    (let $23 (String '"075"))
    (return (Or (< $21 $23) (> $21 $23)))
  )))) (lambda '($24 $25) (AsStruct '('"key" $24) '('"subkey" (Concat (String '"ZZZ") $24)) '('"value" $25)))) $11 (lambda '($26) '((Member $26 '"key") (Member $26 '"subkey") (Member $26 '"value")))))
  (let $20 (lambda '($27) (Member $27 '"key") (Member $27 '"subkey") (Member $27 '"value")))
  (return (FromFlow (ExpandMap $19 $20)))
))) $3))
(let $5 '('('0 '"Asc") '('1 '"Asc") '('"2" '"Asc")))
(let $6 (DqCnMerge (TDqOutput $4 '0) $5))
(let $7 (DqPhyStage '($6) (lambda '($28) (FromFlow (NarrowMap (ToFlow $28) (lambda '($29 $30 $31) (AsStruct '('"key" $29) '('"subkey" $30) '('"value" $31)))))) '('('"_logical_id" '1173) '('"_id" '"1a03035c-6aef54c2-69025449-6658df15"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
