YiwenWu commented on code in PR #3661:
URL: https://github.com/apache/calcite/pull/3661#discussion_r1474392304


##########
core/src/main/java/org/apache/calcite/rel/metadata/RelMdRowCount.java:
##########
@@ -181,6 +182,11 @@ public Double getRowCount(Calc rel, RelMetadataQuery mq) {
     return mq.getRowCount(rel.getInput());
   }
 
+  // Ensures that EnumerableBatchNestedLoopJoin has the same rowCount as the 
join that originated it
+  public @Nullable Double getRowCount(EnumerableBatchNestedLoopJoin join, 
RelMetadataQuery mq) {

Review Comment:
   How to ensure that the original join has the same statistics as the 
EnumerableBatchNestedLoopJoin?
   since the EnumerableBatchNestedLoopJoin has new Filter conditions 



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

Reply via email to