morrySnow commented on code in PR #64125:
URL: https://github.com/apache/doris/pull/64125#discussion_r3385857994
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/CheckAfterRewrite.java:
##########
@@ -154,6 +160,9 @@ private Set<Slot> removeValidSlotsNotFromChildren(Set<Slot>
slots, RoaringBitmap
}
private void checkMetricTypeIsUsedCorrectly(Plan plan) {
+ if (plan instanceof LogicalIntersect || plan instanceof LogicalExcept)
{
+ checkSetOperationCompareType((LogicalSetOperation) plan);
Review Comment:
could we uniform the rejection rule for aggreagation key, hash join key and
intersect/except input?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]