Skip to content

[Bug]: Some TableProperties should not be modified and may cause data consistency issues #1121

Open

Description

@shendanfengg

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

Certain properties should not be allowed to be modified via the interface such as 'table.partition-properties', and 'base.table.max-transaction-id' etc.
Modification of these properties may result in metadata corruption or data consistency issues.

How should we improve?

Restrictions on the modification of certain properties at code level

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Subtasks

No response

Code of Conduct

Activity

  1. added
    type:bug
    on Mar 9, 2023
  2. changed the title [-][Improvement]: Some TableProperties should not be modified and may cause data consistency issues[/-] [+][bug]: Some TableProperties should not be modified and may cause data consistency issues[/+] on Mar 9, 2023
  3. changed the title [-][bug]: Some TableProperties should not be modified and may cause data consistency issues[/-] [+][Bug]: Some TableProperties should not be modified and may cause data consistency issues[/+] on Mar 9, 2023
  4. github-actions commented on Aug 20, 2024

    @github-actions

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

  5. hutiefang76 commented on Nov 25, 2026

    @hutiefang76
    Contributor

    Is the Flink catalog boundary available as a separate follow-up scope here? #4446 proposes the Spark-side protection. In current master, MixedCatalog.alterUnKeyedTable and alterKeyedTable still forward changed or removed properties to table commits.

    The proposed scope is to validate the complete property delta at the Flink catalog boundary before committing: reject changes/removals of internal partition, transaction and watermark bookkeeping; preserve unchanged internal values, ordinary options, and the existing location/snapshot operations. Regressions would exercise both MixedCatalog and unified-catalog delegation, including rejection without partial changes and normal property updates. Runtime maintenance would retain its low-level commit APIs.

    I’ll wait for scope confirmation before editing code.

    AI-assisted source assessment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-staletype:bugtype:improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions