[
https://issues.apache.org/jira/browse/FLINK-38802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin updated FLINK-38802:
------------------------------------
Description:
Right now any DDL, for instance
{code:sql}
ALTER CATALOG cat SET ('K1' = 'V1', 'k2' = 'v2', 'k2' = 'another_value')
{code}
The issue is that after FLINK-38702 DDLs with duplicated keys in {{WITH}}
started to fail
was:
Right now any DDL, for instance
{code:sql}
ALTER CATALOG cat SET ('K1' = 'V1', 'k2' = 'v2', 'k2' = 'another_value')
{code}
currently takes into account only the latest value for {{k2}} which happens
silently. It is much better if it fails while validation to make it more
transparent for the user
> DDL with duplicated keys in table options should not fail
> ---------------------------------------------------------
>
> Key: FLINK-38802
> URL: https://issues.apache.org/jira/browse/FLINK-38802
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
>
> Right now any DDL, for instance
> {code:sql}
> ALTER CATALOG cat SET ('K1' = 'V1', 'k2' = 'v2', 'k2' = 'another_value')
> {code}
> The issue is that after FLINK-38702 DDLs with duplicated keys in {{WITH}}
> started to fail
--
This message was sent by Atlassian Jira
(v8.20.10#820010)