[
https://issues.apache.org/jira/browse/FLINK-28484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lincoln lee closed FLINK-28484.
-------------------------------
Resolution: Not A Bug
This is not a bug after revisit the code
> UniqueKey inference should respect the semantics of null as well as consider
> the possibility of precision loss from implicit conversions
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-28484
> URL: https://issues.apache.org/jira/browse/FLINK-28484
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.15.1
> Reporter: lincoln lee
> Priority: Minor
>
> FLINK-15313 introduces a new branch in UniqueKey inference of projection, but
> does not respect the semantics of null and does not consider the possible
> loss of precision due to implicit conversion, which may lead to a wrong
> determination of whether a column is unique or not, and consequently to a
> wrong execution plan.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)