RaigorJiang opened a new pull request, #18061:
URL: https://github.com/apache/shardingsphere/pull/18061

   Remove schema from DistSQL result sets:
   - ShardingTableRulesUsedAlgorithmQueryResultSet
   - ShardingTableRulesUsedKeyGeneratorQueryResultSet
   
   ### Before
   ```sql
   mysql> SHOW SHARDING TABLE RULES USED ALGORITHM order_inline;
   +-------------+-------+---------+
   | schema      | type  | name    |
   +-------------+-------+---------+
   | sharding_db | table | t_order |
   +-------------+-------+---------+
   1 row in set (0.00 sec)
   
   
   mysql> SHOW SHARDING TABLE RULES USED KEY GENERATOR snowflake;
   +-------------+-------+---------+
   | schema      | type  | name    |
   +-------------+-------+---------+
   | sharding_db | table | t_order |
   +-------------+-------+---------+
   1 row in set (0.01 sec)
   ```
   
   
   ### After
   ```sql
   mysql> SHOW SHARDING TABLE RULES USED ALGORITHM order_inline;
   +-------+---------+
   | type  | name    |
   +-------+---------+
   | table | t_order |
   +-------+---------+
   1 row in set (0.27 sec)
   
   
   mysql> SHOW SHARDING TABLE RULES USED KEY GENERATOR snowflake;
   +-------+---------+
   | type  | name    |
   +-------+---------+
   | table | t_order |
   +-------+---------+
   1 row in set (0.01 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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to