hsyuan commented on a change in pull request #1991:
URL: https://github.com/apache/calcite/pull/1991#discussion_r451810231
##########
File path: core/src/main/java/org/apache/calcite/plan/volcano/RelSubset.java
##########
@@ -128,6 +129,16 @@
*/
private boolean enforceDisabled = false;
+ /**
+ * the upper bound of the last OptimizeGroup call
+ */
+ RelOptCost upperBound;
+
+ /**
+ * RelNode ids that is invoked passThrough method before
+ */
+ Set<RelNode> passThroughCache;
Review comment:
Hmm. I think it is better to store the passThroughCache to RelSet, where
the key is the traitset, the value are relnodes.
----------------------------------------------------------------
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]