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

Jiajun Xie updated CALCITE-5944:
--------------------------------
    Description: 
For the sql
{code:java}
select * from emp tablesample system(20) {code}
`mq.getRowCount(rel)` is null, but we can return `inputRowCount * 0.2`.

 

Other metadata also need to be implemented.
 * RelMdColumnOrigins
 * RelMdExpressionLineage
 * RelMdPredicates

  was:
For the sql
{code:java}
select * from emp tablesample system(20) {code}
`mq.getRowCount(rel)` is null, but we can return `inputRowCount * 0.2`.

 

Other metadata also need to to implemented.
 * RelMdColumnOrigins
 * RelMdExpressionLineage
 * RelMdPredicates


> Add metadata for Sample
> -----------------------
>
>                 Key: CALCITE-5944
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5944
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jiajun Xie
>            Assignee: Jiajun Xie
>            Priority: Minor
>              Labels: pull-request-available
>
> For the sql
> {code:java}
> select * from emp tablesample system(20) {code}
> `mq.getRowCount(rel)` is null, but we can return `inputRowCount * 0.2`.
>  
> Other metadata also need to be implemented.
>  * RelMdColumnOrigins
>  * RelMdExpressionLineage
>  * RelMdPredicates



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to