nextdreamblue opened a new issue, #11636:
URL: https://github.com/apache/doris/issues/11636

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   when show tables from xxx,i get table names unsort,for  example:
   MySQL [abc]> show tables;
   +---------------+
   | Tables_in_abc |
   +---------------+
   | ctable_hash   |
   | atable_hash   |
   | table_hash    |
   | btable_hash   |
   | ztable_hash   |
   +---------------+
   5 rows in set (0.00 sec)
   
   but when show data, i can get table names which be sorted, for example:
   MySQL [abc]> show data;
   --------------
   show data
   --------------
   
   +-------------+-------------+--------------+
   | TableName   | Size        | ReplicaCount |
   +-------------+-------------+--------------+
   | atable_hash | 0.000       | 96           |
   | btable_hash | 0.000       | 96           |
   | ctable_hash | 0.000       | 96           |
   | table_hash  | 790.000 B   | 96           |
   | ztable_hash | 0.000       | 96           |
   | Total       | 790.000 B   | 480          |
   | Quota       | 1024.000 TB | 1073741824   |
   | Left        | 1024.000 TB | 1073741344   |
   +-------------+-------------+--------------+
   
   
   i want to get result  sorted by tablename when show tables like show data.
   
   ### Solution
   
   when show tables, sort result by tablenames.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to