strongduanmu commented on issue #10567:
URL: 
https://github.com/apache/shardingsphere/issues/10567#issuecomment-851748126


   Currently, the `show index` statement can only show the first one index 
result, which is caused by `LogicTablesMergedResult` merging according to the 
table.
   
   ```
   mysql> show index from t_order;
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   | Table   | Non_unique | Key_name | Seq_in_index | Column_name | Collation | 
Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | 
Visible | Expression |
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   | t_order |          0 | PRIMARY  |            1 | order_id    | A         | 
          0 |     NULL |   NULL |      | BTREE      |         |               | 
YES     | NULL       |
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   1 row in set (23.75 sec)
   ```


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


Reply via email to