xiedeyantu commented on code in PR #4335:
URL: https://github.com/apache/calcite/pull/4335#discussion_r2069748180
##########
core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java:
##########
@@ -10532,4 +10532,10 @@ private void
checkLoptOptimizeJoinRule(LoptOptimizeJoinRule rule) {
.withRule(CoreRules.JOIN_CONDITION_PUSH, CoreRules.FILTER_INTO_JOIN)
.check();
}
+
+ @Test void testAggregateMinMaxToLimitRule() {
Review Comment:
There are some problems when executing Quidem test, and the error is as
follows:
```
> Caused by: java.util.NoSuchElementException
> at java.util.AbstractList$Itr.next(AbstractList.java:364)
> at org.apache.calcite.rel.core.Sort.explainTerms(Sort.java:267)
> at
org.apache.calcite.rel.AbstractRelNode.getDigestItems(AbstractRelNode.java:414)
> at
org.apache.calcite.rel.AbstractRelNode.deepHashCode(AbstractRelNode.java:397)
```
Maybe it has something to do with this
```
public RexNode desc(RexNode node) {
return call(SqlStdOperatorTable.DESC, node);
}
```
I'll try to solve this problem first.
--
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]