Skip to content

Commit

Permalink
Revert "[Improvement](sort) do not sort partitial when spill disabled (
Browse files Browse the repository at this point in the history
…#40528)"

This reverts commit e25560e.
  • Loading branch information
HappenLee committed Oct 10, 2024
1 parent 4583a02 commit d086152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/vec/common/sort/sorter.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ class FullSorter final : public Sorter {

private:
bool _reach_limit() {
return _enable_spill && (_state->unsorted_block_->rows() > buffered_block_size_ ||
_state->unsorted_block_->bytes() > buffered_block_bytes_);
return _state->unsorted_block_->rows() > buffered_block_size_ ||
_state->unsorted_block_->bytes() > buffered_block_bytes_;
}

Status _do_sort();
Expand Down

0 comments on commit d086152

Please sign in to comment.