xiedeyantu commented on code in PR #4671:
URL: https://github.com/apache/calcite/pull/4671#discussion_r2615910496


##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -550,11 +558,15 @@ private boolean isNonAggregatedNonGroupedColumn(SqlNode 
node, SqlSelect select)
       }
       return groupList.getList().stream()
           .noneMatch(groupItem -> groupItem != null
-              && node.equalsDeep(groupItem, Litmus.IGNORE));
+              && node.equalsDeep(stripAs(groupItem), Litmus.IGNORE));

Review Comment:
   This part of the code is outdated, and this modification has been reverted.



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