cheese8 commented on code in PR #17500: URL: https://github.com/apache/shardingsphere/pull/17500#discussion_r869288243
########## shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/condition/EncryptConditionEngine.java: ########## @@ -109,6 +110,9 @@ private void addEncryptConditions(final Collection<EncryptCondition> encryptCond private void addEncryptConditions(final Collection<EncryptCondition> encryptConditions, final ExpressionSegment expression, final Map<String, String> expressionTableNames) { for (ColumnSegment each : ColumnExtractor.extract(expression)) { + if (nullOnRight(expression)) { Review Comment: To check `IS NULL` or `IS NOT NULL` on the right of BinaryOperationExpression, if there is, `continue` to skip 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-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org