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 2020/09/23 16:08:32 UTC
[GitHub] [calcite] julianhyde commented on a change in pull request #2163: [CALCITE-4273] Support get expression lineage for Calc
julianhyde commented on a change in pull request #2163:
URL: https://github.com/apache/calcite/pull/2163#discussion_r493715390
##########
File path: core/src/main/java/org/apache/calcite/plan/RelOptUtil.java
##########
@@ -3607,6 +3607,25 @@ public int size() {
return relBuilder.build();
}
+ /** Explain filtering condition and projections for Calc. */
+ public static Pair<RexNode, List<RexNode>> explainCalc(Calc calc) {
Review comment:
Maybe put a simple (non-trivial) example in the javadoc. Expressions, common sub-expressions, filter, some output fields based on constants, some input fields pruned from the output.
----------------------------------------------------------------
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:
users@infra.apache.org