Skip to content

branch-3.0: [fix](planner)show tablet command return wrong result when having limit and offset#43844

Merged
yiguolei merged 1 commit intobranch-3.0from
auto-pick-43768-branch-3.0
Nov 13, 2024
Merged

branch-3.0: [fix](planner)show tablet command return wrong result when having limit and offset#43844
yiguolei merged 1 commit intobranch-3.0from
auto-pick-43768-branch-3.0

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #43768

…it and offset (#43768)

`show tablets from t order by x limit y, z` produce wrong result. The
original code sort the limit results, while the correct way is to limit
the sorting results. This pr fix it.
@doris-robot
Copy link

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?

@doris-robot
Copy link

run buildall

@yiguolei yiguolei closed this Nov 13, 2024
@yiguolei yiguolei reopened this Nov 13, 2024
@yiguolei yiguolei merged commit a0285c1 into branch-3.0 Nov 13, 2024
@dataroaring dataroaring deleted the auto-pick-43768-branch-3.0 branch December 27, 2024 07:10
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