zy-kkk opened a new pull request, #56746:
URL: https://github.com/apache/doris/pull/56746
### What problem does this PR solve?
We are removing **LakeSoul external catalog support** from the latest Doris
release due to several critical issues:
1. **Design Flaws** – The current driver management design causes conflicts
with other components, leading to instability and increased maintenance
complexity.
2. **Security Vulnerabilities** – LakeSoul dependencies contain multiple
CVE-reported vulnerabilities, posing significant security risks.
3. **Lack of Maintenance** – The LakeSoul catalog integration in Doris lacks
active maintainers and has not received timely updates.
4. **No User Adoption** – No user feedback or usage requests have been
received, indicating that the feature has not been used in practice.
Given these factors, maintaining this integration introduces unnecessary
security and maintenance burdens without providing tangible value to users.
Therefore, we have decided to remove LakeSoul catalog support from this release.
---
### Code Removal
- Removed all LakeSoul Java implementation code from FE
(`fe/fe-core/src/main/java/org/apache/doris/datasource/lakesoul/`)
- Removed LakeSoul scanner BE Java extension module
(`fe/be-java-extensions/lakesoul-scanner/`)
- Removed C++ JNI reader implementation
(`be/src/vec/exec/format/table/lakesoul_jni_reader.*`)
- Removed all unit tests and regression tests related to LakeSoul
- Removed Docker deployment configurations
---
### Dependency Cleanup
- Removed `lakesoul-io-java` dependency from `fe/fe-core/pom.xml`
- Removed `lakesoul-scanner` module from Maven reactor and build scripts
---
### Code Reference Cleanup
- Removed LakeSoul catalog factory logic from `CatalogFactory.java`
- Removed `LAKESOUL` enum from `TableFormatType.java` and
`TableIf.TableType`
- Removed LakeSoul scan node references from planner and statistics modules
- Removed GSON serialization registration for LakeSoul classes
---
### Backward Compatibility
- Marked Thrift structs (`TLakeSoulTable`, `TLakeSoulFileDesc`) as
**deprecated** instead of removing them
- Marked `LAKESOUL` enum values in `InitCatalogLog.Type` and
`InitDatabaseLog.Type` as `@Deprecated`
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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]