You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RENAME COLUMN can change which field a sequence group protects #1559
I searched in the issues and found nothing similar.
Please describe the bug
On a partial-update table, renaming a column can allow an older update to overwrite a different column previously protected by a sequence group. Run the following in a DataFusion session with a Paimon filesystem catalog:
Expected
A successful rename should preserve the protected column. The query should return ('organic', 'later'), as it does with the original column names when the rename is omitted. If the binding is ambiguous, the rename should fail before publishing a new schema.
Actual
The rename succeeds and the query returns ('older', 'first'). The group now protects aux.
Ordinary column names are also affected. For a group defined as 'fields.ts.sequence-group' = 'a, b', renaming b to c fails because the group still references b.
Activity