jh3507 commented on a change in pull request #1334: [CALCITE-3111] Allow custom
implementations of Correlate in RelDecorr…
URL: https://github.com/apache/calcite/pull/1334#discussion_r307893084
##########
File path: core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java
##########
@@ -425,7 +435,10 @@ public Frame decorrelateRel(Sort rel) {
RelCollation newCollation = RexUtil.apply(mapping, oldCollation);
final Sort newSort =
- LogicalSort.create(newInput, newCollation, rel.offset, rel.fetch);
+ (Sort) relBuilder
Review comment:
I think it is. However, it seems like there is nothing to lose by using
RelNode. Changed its type to RelNode.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services