[ 
https://issues.apache.org/jira/browse/CALCITE-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiajun Xie updated CALCITE-5943:
--------------------------------
    Description: 
For the SQL
{code:java}
select * from emp tablesample bernoulli(50) {code}
selectivity is 1.0, maybe 0.5 will be better.

 

  was:
For the SQL

```

select * from emp tablesample bernoulli(50)

```

selectivity is 1.0, maybe 0.5 will be better.

 


> RelMdSelectivity can return more precise selectivity for Sample
> ---------------------------------------------------------------
>
>                 Key: CALCITE-5943
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5943
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jiajun Xie
>            Assignee: Jiajun Xie
>            Priority: Major
>
> 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)

Reply via email to