DinoZhang opened a new issue #5836:
URL: https://github.com/apache/incubator-doris/issues/5836


   Currently, the `show data` does not support sorting. When the number of 
tables increases, it is inconvenient to manage. Need to support sorting
   
   syntax:
   
   ```
   SHOW DATA [FROM db_name[.table_name]] [ORDER BY ...];
   ```
   
   like:
   
   ```
   mysql>  show data order by ReplicaCount desc,Size asc;
   +-----------+-------------+--------------+
   | TableName | Size        | ReplicaCount |
   +-----------+-------------+--------------+
   | table_c   | 3.102 KB    | 40           |
   | table_d   | .000        | 20           |
   | table_b   | 324.000 B   | 20           |
   | table_a   | 1.266 KB    | 10           |
   | Total     | 4.684 KB    | 90           |
   | Quota     | 1024.000 GB | 1073741824   |
   | Left      | 1024.000 GB | 1073741734   |
   +-----------+-------------+--------------+
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to