[Enhancement](MaxCompute)Refactoring maxCompute catalog using Storage API.(#40225 , #40888 ,#41386 )#41614
Merged
morningman merged 3 commits intoapache:branch-3.0from Oct 11, 2024
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
… API. (apache#40225) Refactoring maxCompute catalog using Storage API. Storage API : https://help.aliyun.com/zh/maxcompute/user-guide/open-storage-sample-java-sdk?spm=a2c4g.11186623.0.i0 ``` The following are required: CREATE CATALOG mc PROPERTIES ( "type" = "max_compute", "mc.default.project" = "xxx", "mc.access_key" = "xxx", "mc.secret_key" = "xxxx", "mc.endpoint" = "xxxx" ); Optional parameters: Configuration Item Default Value "mc.quota" = "pay-as-you-go" "mc.split_strategy" = "byte_size" Split according to file size "mc.split_byte_size" = "268435456" You can set the file size of each split "mc.split_strategy" = "row_count" Split according to the number of rows of data "mc.split_row_count" = "1048576" You can set how many lines to read for each split ```
… maxcompute. (apache#40888) before pr apache#40225 ## Proposed changes Fixed a bug where when reading maxcompute, if there are null values in a batch, null values will always be read out.
…pute catalogs from previous versions. (apache#41386) before pr apache#40225 (cherry picked from commit e8a1a16)
410922f to
9fa6aae
Compare
Contributor
Author
|
run buildall |
Closed
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.
bp #40225 , #40888 ,#41386
Proposed changes
Among them, #40225 is the new api of mc,
#40888 is used to fix the bug when reading null between the new and old apis,
#41386 is used for compatibility between the new and old versions