diff --git a/be/src/vec/common/sort/sorter.h b/be/src/vec/common/sort/sorter.h index a290de65bb6534..aa7d88dfbc2a3a 100644 --- a/be/src/vec/common/sort/sorter.h +++ b/be/src/vec/common/sort/sorter.h @@ -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();