Skip to content

[feature](fe) Support Paimon DDL and external table properties#65815

Open
suxiaogang223 wants to merge 1 commit into
apache:masterfrom
suxiaogang223:codex/paimon-ddl-alter
Open

[feature](fe) Support Paimon DDL and external table properties#65815
suxiaogang223 wants to merge 1 commit into
apache:masterfrom
suxiaogang223:codex/paimon-ddl-alter

Conversation

@suxiaogang223

Copy link
Copy Markdown
Member

What problem does this PR solve?

Issue Number: None

Related PR: None

Problem Summary:

Doris routes external table column changes to connector metadata operations, but Paimon did not implement those operations. External table property changes were also only handled for auto_analyze_policy, so connector properties were rejected during analysis or silently ignored.

This change implements Paimon column add/drop/rename and table rename operations, routes external table property updates through ExternalCatalog, and adds Paimon and Iceberg property update implementations with metadata cache refresh.

Release note

Support Paimon ALTER TABLE column and table rename operations, and Paimon/Iceberg table property updates.

Check List (For Author)

  • Test
    • Regression test
    • Unit Test
    • Manual test
    • No need to test or manual test.
  • Behavior changed:
    • No.
    • Yes. Paimon supports ALTER TABLE column/table rename operations, and Paimon/Iceberg external tables support property updates.
  • Does this need documentation?
    • No.
    • Yes.

Validation:

  • ./run-fe-ut.sh --run org.apache.doris.datasource.paimon.PaimonMetadataOpsTest,org.apache.doris.nereids.trees.plans.commands.info.ModifyTablePropertiesOpTest
  • ./build.sh --fe
  • git diff --check

The external-environment regression cases were added but not executed locally because they require the Paimon and Iceberg test services.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

### What problem does this PR solve?

Issue Number: None

Related PR: None

Problem Summary: Doris routes external table column changes to connector metadata operations, but Paimon did not implement those operations. External table property changes were also only handled for auto_analyze_policy, so connector properties were rejected during analysis or silently ignored. Implement Paimon column and table rename operations, route external table properties through ExternalCatalog, and add Paimon and Iceberg property update implementations with metadata cache refresh.

### Release note

Support Paimon ALTER TABLE column and table rename operations, and Paimon/Iceberg table property updates.

### Check List (For Author)

- Test: Unit Test and FE build
    - PaimonMetadataOpsTest and ModifyTablePropertiesOpTest
    - ./build.sh --fe
- Behavior changed: Yes. Paimon supports ALTER TABLE column/table rename operations, and Paimon/Iceberg external tables support property updates.
- Does this need documentation: No
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@suxiaogang223
suxiaogang223 marked this pull request as ready for review July 20, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants