[ https://issues.apache.org/jira/browse/CALCITE-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757171#comment-17757171 ]
Jiajun Xie commented on CALCITE-5944: ------------------------------------- Initially, I planned to discuss separately, so I create different Jira ticket. But now the Jira include https://issues.apache.org/jira/browse/CALCITE-5943, so I closed it. > 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 to implemented. > * RelMdColumnOrigins > * RelMdExpressionLineage > * RelMdPredicates -- This message was sent by Atlassian Jira (v8.20.10#820010)