juntaozhang commented on code in PR #4338:
URL: https://github.com/apache/calcite/pull/4338#discussion_r2062586921
##########
core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java:
##########
@@ -7962,6 +7963,50 @@ private void checkSemiJoinRuleOnAntiJoin(RelOptRule
rule) {
.checkUnchanged();
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-6983">[CALCITE-6983]
+ * SortJoinTransposeRule should not push SORT past a UNION when SORT's fetch
is DynamicParam
+ </a>. */
+ @Test void testSortJoinTranspose8() {
Review Comment:
I simplified the user's SQL to better illustrate the issue, which can indeed
be confusing. Taking your suggestion, I have reverted to using the original SQL.
--
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]