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/06/03 00:04:27 UTC

[GitHub] [calcite] hsyuan commented on a change in pull request #1992: [CALCITE-3963] Maintains logical properties at RelSet (equivalent gro…

hsyuan commented on a change in pull request #1992:
URL: https://github.com/apache/calcite/pull/1992#discussion_r434239055



##########
File path: core/src/main/java/org/apache/calcite/plan/volcano/RelSet.java
##########
@@ -73,7 +74,14 @@
    * set.
    */
   RelSet equivalentSet;
-  RelNode rel;
+
+  /**
+   * The first RelNode added to the set or the RelNode with highest confidence
+   * level of estimated statistics.
+   * The logical properties of the RelSet, including row count, uniqueness, etc,
+   * are determined by this RelNode.
+   */
+  RelNode originalRel;

Review comment:
       How about continue using `rel`?




----------------------------------------------------------------
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