vlsi commented on a change in pull request #2623:
URL: https://github.com/apache/calcite/pull/2623#discussion_r761881119
##########
File path: core/src/main/java/org/apache/calcite/rel/logical/LogicalProject.java
##########
@@ -137,14 +170,20 @@ public static LogicalProject create(final RelNode input,
List<RelHint> hints,
@Override public RelNode withHints(List<RelHint> hintList) {
return new LogicalProject(getCluster(), traitSet, hintList,
- input, getProjects(), getRowType());
+ input, getProjects(), getRowType(), variablesSet);
+ }
+
+ @Override public RelWriter explainTerms(RelWriter pw) {
+ return super.explainTerms(pw)
+ .itemIf("variablesSet", variablesSet, !variablesSet.isEmpty());
Review comment:
Please print `variablesSet` **before** the regular project fields as it
would be easier to relate project and its variables.
--
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]