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 2021/10/09 07:29:55 UTC

[GitHub] [shardingsphere] cheese8 opened a new issue #12957: Using SQLHint to support encrypt rewrite besides

cheese8 opened a new issue #12957:
URL: https://github.com/apache/shardingsphere/issues/12957


   ## Feature Request
   
   Using SQLHint to support encrypt rewrite besides, for example:
   
   `update table set plain_column = xxx where plain_column=xxx`
    might be rewrited as below
   `update table set cipher_column = cipher_xxx, assist_column=assist_xxx, plain_column=xxx where assist_column=assist_xxx`
   
   if SQLHint used as
   `/* no encrypt rewrite */ update table set plain_column = xxx where plain_column=xxx`
    it would not be rewrited, but the same as below
   `/* no encrypt rewrite */ update table set plain_column = xxx where plain_column=xxx`
   


-- 
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 #12957: Using SQLHint to support encrypt rewrite besides

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


   Hinting through SQL comments is a brand new feature, and I think we should design first instead of starting work hastily. So, can you organize a design first? Including how to define the SQL comment format for different features, and how to elegantly introduce SQL comments into the kernel features.


-- 
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] cheese8 commented on issue #12957: Using SQLHint to support encrypt rewrite besides

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


   @strongduanmu Are we thinking the same idea? please assign it to me, thanks.


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