Skip to content

branch-4.1: [fix](function) Handle case-insensitive auto partition arguments #67121 - #67191

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-67121-branch-4.1
Aug 27, 2026
Merged

branch-4.1: [fix](function) Handle case-insensitive auto partition arguments #67121#67191
yiguolei merged 1 commit into
branch-4.1from
auto-pick-67121-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #67121

)

`AUTO_PARTITION_NAME` accepted case-insensitive `list` and `range`
arguments in FE, but BE compared them case-sensitively. Uppercase `LIST`
was incorrectly routed to the range implementation and could access a
missing third argument, causing a BE core. The BE now normalizes
partition type and range granularity arguments before dispatch, with
unit coverage for mixed-case inputs.
@github-actions
github-actions Bot requested a review from yiguolei as a code owner August 27, 2026 04:03
@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 UT Coverage Report

Increment line coverage 84.62% (11/13) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 59.41% (25640/43157)
Line Coverage 43.92% (262133/596868)
Region Coverage 39.85% (207656/521072)
Branch Coverage 41.33% (95746/231689)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (13/13) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 74.22% (31211/42050)
Line Coverage 58.43% (346138/592376)
Region Coverage 55.23% (288516/522351)
Branch Coverage 56.07% (129759/231423)

@yiguolei
yiguolei merged commit 322bbe8 into branch-4.1 Aug 27, 2026
30 of 32 checks passed
@github-actions

Copy link
Copy Markdown
Contributor Author

PR approved by anyone and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

PR approved by at least one committer and no changes requested.

@morrySnow
morrySnow deleted the auto-pick-67121-branch-4.1 branch August 31, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants