Skip to content

branch-4.1: [feature](be) Support zstd stream load compression #64711#64750

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-64711-branch-4.1
Jun 24, 2026
Merged

branch-4.1: [feature](be) Support zstd stream load compression #64711#64750
yiguolei merged 1 commit into
branch-4.1from
auto-pick-64711-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #64711

Stream load does not support `compress_type=zstd` in the shared load
format parser. Async group commit also checks only legacy compressed CSV
format enum values when estimating compressed input size, so
`compress_type` based compressed input is not handled consistently by
stream load and HTTP stream load.

This PR adds ZSTD parsing in `LoadUtil::parse_format`, adds a shared
`LoadUtil::is_compressed_load` helper for `compress_type` and legacy
compressed CSV format types, and uses it in stream load and HTTP stream
group commit paths. This PR also adds BE UT and regression coverage for
ZSTD CSV/JSON stream load and group commit stream/HTTP stream load.
@github-actions github-actions Bot requested a review from yiguolei as a code owner June 23, 2026 13:24
@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?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 92.31% (36/39) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.66% (27421/37225)
Line Coverage 57.35% (297200/518225)
Region Coverage 55.15% (250229/453691)
Branch Coverage 56.41% (108060/191565)

@yiguolei

Copy link
Copy Markdown
Contributor

skip buildall

@yiguolei yiguolei merged commit a9fb05d into branch-4.1 Jun 24, 2026
38 of 41 checks passed
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.

3 participants