RaigorJiang opened a new issue, #25128:
URL: https://github.com/apache/shardingsphere/issues/25128

   
   - SHOW MASK RULES
   ```sql
   mysql> SHOW MASK RULES;
   +---------+----------+------------------+--------------------------------+
   | table   | column   | algorithm_type   | algorithm_props                |
   +---------+----------+------------------+--------------------------------+
   | t_mask  | phoneNum | MASK_FROM_X_TO_Y | to-y=2,replace-char=*,from-x=1 |
   | t_mask  | address  | MD5              |                                |
   | t_order | order_id | MD5              |                                |
   | t_user  | user_id  | MASK_FROM_X_TO_Y | to-y=2,replace-char=*,from-x=1 |
   +---------+----------+------------------+--------------------------------+
   4 rows in set (0.01 sec)
   ```
   
   - SHOW SHADOW RULES
   ```sql
   mysql> SHOW SHADOW RULES FROM shadow_db;
   +-------------+-------------+-------------+----------------------+
   | rule_name   | source_name | shadow_name | shadow_table         |
   +-------------+-------------+-------------+----------------------+
   | shadow_rule | ds_0        | ds_1        | t_order_item,t_order |
   +-------------+-------------+-------------+----------------------+
   1 row in set (0.00 sec)
   ```
   
   From the comparison, we can find that the result of `SHOW SHADOW RULES` 
lacks algorithm information, which needs to be supplemented.


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