[
https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756675#comment-17756675
]
Benchao Li commented on CALCITE-5944:
-------------------------------------
Is {{RelMdRowCount}} the only one that needs to handle {{Sample}}? Have you
considered other kinds of metadata?
> RelMdRowCount can return more accurate rowCount
> -----------------------------------------------
>
> 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`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)