(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"subkey" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '575) '('"_id" '"b8726978-217b0a-d8ec8267-5d73a27e") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $11 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 '('"key" '"subkey" '"value"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 $13 (Void) (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $14 '())))
))) $3))
(let $5 (DqCnUnionAll (TDqOutput $4 '0)))
(let $6 (DqPhyStage '($5) (lambda '($15) (block '(
  (let $16 (Sort (NarrowMap (ToFlow $15) (lambda '($17 $18 $19) (AsStruct '('_yql_sys_order_by (SafeCast $17 (OptionalType (DataType 'DyNumber)))) '('"key" $17) '('"subkey" $18) '('"value" $19)))) (Bool 'true) (lambda '($20) (Member $20 '_yql_sys_order_by))))
  (return (FromFlow (OrderedMap $16 (lambda '($21) (AsStruct '('"key" (Member $21 '"key")) '('"subkey" (Member $21 '"subkey")) '('"value" (Member $21 '"value")))))))
))) '('('"_logical_id" '609) '('"_id" '"34a62651-315fd822-fb1c3767-efed4622"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
