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 2020/12/16 06:59:12 UTC
[GitHub] [shardingsphere] liuchaoheliang opened a new issue #8643: the subquery encrypt column not be rewrite ?
liuchaoheliang opened a new issue #8643:
URL: https://github.com/apache/shardingsphere/issues/8643
my config
spring.shardingsphere.props.query-with-cipher-column=true
spring.shardingsphere.rules.encrypt.encryptors.name_encryptor.type=cName
spring.shardingsphere.rules.encrypt.tables.user_info.columns.name.plainColumn=name
spring.shardingsphere.rules.encrypt.tables.user_info.columns.name.cipherColumn=name_enc
spring.shardingsphere.rules.encrypt.tables.user_info.columns.name.encryptorName=name_encryptor
2020-12-16 14:46:21.938 INFO 2740 --- [ main] ShardingSphere-SQL : Logic SQL: select t.id as id from (select * from user_info where name = ? or reg_device_info is not null ) as t where t.name is not null
2020-12-16 14:46:21.940 INFO 2740 --- [ main] ShardingSphere-SQL : SQLStatement: MySQLSelectStatement(limit=Optional.empty, lock=Optional.empty)
2020-12-16 14:46:21.940 INFO 2740 --- [ main] ShardingSphere-SQL : Actual SQL: ds0 ::: select t.id as id from (select * from user_info where name = ? or reg_device_info is not null ) as t where t.name_enc is not null ::: [萨达阿]
why the subquery name column not be rewrite ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] menghaoranss commented on issue #8643: the subquery encrypt column not be rewrite ?
Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #8643:
URL: https://github.com/apache/shardingsphere/issues/8643#issuecomment-747234664
encrypted query with subquery now is not supported
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] menghaoranss closed issue #8643: the subquery encrypt column not be rewrite ?
Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #8643:
URL: https://github.com/apache/shardingsphere/issues/8643
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org