You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2021/10/12 09:22:15 UTC
[GitHub] [calcite] yanlin-Lynn commented on a change in pull request #2252: [CALCITE-4386] Support RelShuttle visit LogicalCalc
yanlin-Lynn commented on a change in pull request #2252:
URL: https://github.com/apache/calcite/pull/2252#discussion_r726930673
##########
File path: core/src/main/java/org/apache/calcite/rel/rules/ProjectToCalcRule.java
##########
@@ -66,7 +66,7 @@ public ProjectToCalcRule(RelBuilderFactory relBuilderFactory) {
project.getRowType(),
project.getCluster().getRexBuilder());
final LogicalCalc calc = LogicalCalc.create(input, program);
- call.transformTo(calc);
+ call.transformTo(calc.withHints(project.getHints()));
Review comment:
why need this?
--
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: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org