[
https://issues.apache.org/jira/browse/FLINK-21710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
godfrey he updated FLINK-21710:
-------------------------------
Description: FlinkRelMdUniqueKeys#getTableUniqueKeys uses the original
columns to find the index of primary keys. But after project push-down, the
indexes is incorrect based on original columns, and the new columns should be
used. (was: FlinkRelMdUniqueKeys#getTableUniqueKeys uses the original columns
to find the index of primary keys. But after project push-down, the indexes is
incorreect)
> FlinkRelMdUniqueKeys gets incorrect result on TableScan after project
> push-down
> -------------------------------------------------------------------------------
>
> Key: FLINK-21710
> URL: https://issues.apache.org/jira/browse/FLINK-21710
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: godfrey he
> Assignee: godfrey he
> Priority: Major
> Fix For: 1.13.0, 1.12.3
>
>
> FlinkRelMdUniqueKeys#getTableUniqueKeys uses the original columns to find the
> index of primary keys. But after project push-down, the indexes is incorrect
> based on original columns, and the new columns should be used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)