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/07/10 01:08:07 UTC

[GitHub] [shardingsphere] strongduanmu commented on a change in pull request #11204: Fix AggregationProjection return expression without cleaning

strongduanmu commented on a change in pull request #11204:
URL: https://github.com/apache/shardingsphere/pull/11204#discussion_r667268726



##########
File path: shardingsphere-infra/shardingsphere-infra-binder/src/main/java/org/apache/shardingsphere/infra/binder/segment/select/projection/impl/AggregationProjection.java
##########
@@ -52,7 +51,7 @@
     
     @Override
     public final String getExpression() {
-        return SQLUtil.getExactlyValue(type.name() + innerExpression);

Review comment:
       @iamkyu I found that there are many scenarios where `getExpression` is used for logical judgment. Should these scenarios use `SQLUtil.getExactlyValue(each.getExpression())` to ensure that exact values are used for judgment?




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