[
https://issues.apache.org/jira/browse/CALCITE-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982076#comment-16982076
]
Julian Hyde commented on CALCITE-3473:
--------------------------------------
I see that the new commit adds {{RelOptTable.getKeys()}}. What should happen if
the table overrides both {{getKeys()}} and {{isKey(ImmutableBitSet)}}? Is the
table responsible for making sure that they are consistent?
> Getting unique result for table scan should contain key column(s)
> -----------------------------------------------------------------
>
> Key: CALCITE-3473
> URL: https://issues.apache.org/jira/browse/CALCITE-3473
> Project: Calcite
> Issue Type: Improvement
> Reporter: Wang Yanlin
> Assignee: Wang Yanlin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently, *mq.getUniqueKeys()* for *TableScan* returns empty.
> However, for table with key column(s) defined, we can refer uniqueness on key
> column(s), so the result should contain key column(s)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)