[
https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756466#comment-17756466
]
Jiajun Xie commented on CALCITE-5943:
-------------------------------------
Selectivity is for predicate, maybe it is not suitable for sample.
I have a draft, but I'm not sure if it's necessary to implement it.
Welcome to leave your suggestion.
> RelMdSelectivity can return more precise selectivity for Sample
> ---------------------------------------------------------------
>
> Key: CALCITE-5943
> URL: https://issues.apache.org/jira/browse/CALCITE-5943
> Project: Calcite
> Issue Type: Improvement
> Reporter: Jiajun Xie
> Assignee: Jiajun Xie
> Priority: Minor
>
> For the SQL
> {code:java}
> select * from emp tablesample bernoulli(50) {code}
> selectivity is 1.0, maybe 0.5 will be better.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)