[ 
https://issues.apache.org/jira/browse/FLINK-41611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arvid Heise resolved FLINK-41611.
---------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged into master as e4d4603.

> Allow only appending columns at the end when a materialized table's query 
> changes
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-41611
>                 URL: https://issues.apache.org/jira/browse/FLINK-41611
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Timo Theusner
>            Assignee: Timo Theusner
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> {{CREATE OR ALTER}} and {{ALTER ... AS}} accept a query that inserts a column 
> and reorders existing ones: {{SELECT a, b, c}} → {{SELECT a, x, c, b}} stores 
> {{(a, c, b, x)}} while the positional refresh writes {{(a, x, c, b)}}, so 
> values land in wrong columns. {{validateAndExtractColumnChanges}} compares 
> positions on different scales, and {{validateChanges}} checks each change 
> alone. FLIP-492 and FLIP-546 allow only appending at the end.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to