(
(let $1 (StructType '('"akey" (DataType 'String))))
(let $2 '('('"_logical_id" '622) '('"_id" '"4c93da3b-d01c37c6-e94934de-65d420c4") '('"_wide_channels" $1)))
(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 '('"key" '"subkey") (Void) (Void))) '()))))
  (let $13 (Sort (NarrowMap (DqReadWideWrap $12 '()) (lambda '($14 $15) (AsStruct '('"akey" (Concat $14 $15))))) (Bool 'true) (lambda '($16) (Member $16 '"akey"))))
  (return (FromFlow (ExpandMap $13 (lambda '($17) (Member $17 '"akey")))))
))) $2))
(let $4 (DqCnMerge (TDqOutput $3 '0) '('('0 '"Asc"))))
(let $5 (DqPhyStage '($4) (lambda '($18) (FromFlow (NarrowMap (ToFlow $18) (lambda '($19) (AsStruct '('"akey" $19)))))) '('('"_logical_id" '634) '('"_id" '"8810349b-e66a0a15-b5c4c9-3e9bf4e1"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"akey")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $1) '0 '0)) '('('"type" '"query"))))
)
