You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/08/10 03:58:46 UTC
[GitHub] [doris] nextdreamblue opened a new issue, #11636: [Enhancement] sort result by tablename when show tables like 'show data'
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-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] yiguolei closed issue #11636: [Enhancement] sort result by tablename when show tables like 'show data'
Posted by GitBox <gi...@apache.org>.
yiguolei closed issue #11636: [Enhancement] sort result by tablename when show tables like 'show data'
URL: https://github.com/apache/doris/issues/11636
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org