suxiaogang223 opened a new pull request, #65815:
URL: https://github.com/apache/doris/pull/65815
### 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
- [x] Regression test
- [x] Unit Test
- [ ] Manual test
- [ ] No need to test or manual test.
- Behavior changed:
- [ ] No.
- [x] Yes. Paimon supports ALTER TABLE column/table rename operations,
and Paimon/Iceberg external tables support property updates.
- Does this need documentation?
- [x] 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]