julianhyde commented on code in PR #3382:
URL: https://github.com/apache/calcite/pull/3382#discussion_r1299615754
##########
core/src/main/java/org/apache/calcite/rel/metadata/RelMdMaxRowCount.java:
##########
@@ -104,6 +105,10 @@ public class RelMdMaxRowCount
return mq.getMaxRowCount(rel.getInput());
}
+ public @Nullable Double getMaxRowCount(Sample rel, RelMetadataQuery mq) {
+ return mq.getMaxRowCount(rel.getInput());
Review Comment:
Bernoulli sampling can, in the worst case, return all rows, or no rows.
Not sure about system sampling.
--
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]