[feature](lance) Support OSS storage provider - #67157
Draft
FANNG1 wants to merge 1 commit into
Draft
Conversation
### What problem does this PR solve? Issue Number: close apache#67131 Related PR: apache#66805 Problem Summary: Lance catalogs already forward provider-native storage options, but Doris did not translate typed OSS properties and filesystem catalogs rejected oss:// warehouses. Add an OSS provider that maps Doris OSS properties to Lance public OSS options, normalizes native Namespace-vended aliases before deterministic merging, rejects conflicting aliases, preserves unknown vended options, accepts OSS filesystem warehouses, and redacts OSS credentials from metadata errors. ### Release note Support native Alibaba Cloud OSS storage options for Lance catalogs. ### Check List (For Author) - Test: - Unit Test: Official Doris build image run-fe-ut.sh, 31 tests passed - Manual test: PyLance real OSS write/read and Doris FE metadata access through filesystem and REST catalogs; BE compiled successfully, but an end-to-end BE scan could not run because the x86_64 ASAN binary crashes before service initialization under ARM emulation - Behavior changed: Yes. Lance catalogs can use oss:// with Doris OSS properties and OSS Namespace-vended options. - Does this need documentation: No
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Author
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #67131
Related PR: #66805
Problem Summary:
Lance catalogs already forward provider-native storage options, but Doris did not translate typed OSS properties and filesystem catalogs rejected
oss://warehouses.This change:
It reuses the FE-to-BE storage-option transport introduced by #66805 and does not change Thrift or BE code.
Release note
Support native Alibaba Cloud OSS storage options for Lance catalogs.
Check List (For Author)
run-fe-ut.sh, 31 tests passedoss://with Doris OSS properties and OSS Namespace-vended options.Scope
Not included: role-based credential vending, STS credential refresh during a scan, a new Thrift envelope, or static support for other object-store providers.