You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/21 02:26:56 UTC

[GitHub] [shardingsphere] strongduanmu opened a new issue, #23005: `SHOW ENCRYPT RULES` returns results missing `like_column` and `like_data_type`

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

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   [11f19c4](https://github.com/apache/shardingsphere/commit/11f19c41de1886ecbdf8f3ea423b478ac6c171cd)
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   `SHOW ENCRYPT RULES` returns results contain `like_column` and `like_data_type`.
   
   ### Actual behavior
   
   ```
   encrypt_db=> SHOW ENCRYPT RULES;
      table    | logic_column  | logic_data_type |    cipher_column     | cipher_data_type |    plain_column     | plain_data_type | assisted_query_column | assisted_query_data_type | encryptor_type |     encryptor_props
   | assisted_query_type | assisted_query_props | like_query_type  | like_query_props | query_with_cipher_column
   ------------+---------------+-----------------+----------------------+------------------+---------------------+-----------------+-----------------------+--------------------------+----------------+-------------------------
   +---------------------+----------------------+------------------+------------------+--------------------------
    t_merchant | business_code |                 | business_code_cipher |                  | business_code_plain |                 |                       |                          | RC4            | rc4-key-value=123456abc
   |                     |                      | CHAR_DIGEST_LIKE | mask=4093        | true
    t_merchant | telephone     |                 | telephone_cipher     |                  | telephone_plain     |                 |                       |                          | RC4            | rc4-key-value=123456abc
   |                     |                      | CHAR_DIGEST_LIKE | mask=4093        | true
   (2 rows)
   ```
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] strongduanmu closed issue #23005: `SHOW ENCRYPT RULES` returns results missing `like_column` and `like_data_type`

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #23005: `SHOW ENCRYPT RULES` returns results missing `like_column` and `like_data_type`
URL: https://github.com/apache/shardingsphere/issues/23005


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] gxxiong commented on issue #23005: `SHOW ENCRYPT RULES` returns results missing `like_column` and `like_data_type`

Posted by GitBox <gi...@apache.org>.
gxxiong commented on issue #23005:
URL: https://github.com/apache/shardingsphere/issues/23005#issuecomment-1362290244

   I will fix it.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] strongduanmu commented on issue #23005: `SHOW ENCRYPT RULES` returns results missing `like_column` and `like_data_type`

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #23005:
URL: https://github.com/apache/shardingsphere/issues/23005#issuecomment-1362298492

   @gxxiong Thank you. I just assign this issue to you.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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