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


   ## Support  encrypt rewrite for join table segment.
   
   Logic SQL: 
   
   SELECT u.mobile, u.username, u.id_no, o.card_no FROM `order` o left join 
`user` u on o.card_no=u.id_no where o.card_no=? and u.mobile=?
   
   Actual SQL:
   
   SELECT u.mobile, u.username, u.id_no, o.card_no_cipher AS card_no FROM 
`order` o left join `user` u on o.card_no=u.id_no where o.card_no_hash=? and 
u.mobile_hash=?
   
   Expert:
   
   SELECT u.mobile_cipher AS mobile, u.username, u.id_no_cipher AS id_no, 
o.card_no_cipher AS card_no FROM `order` o left join `user` u on 
o.card_no_hash=u.id_no_hash where o.card_no_hash=? and u.mobile_hash=?


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