This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new d263a17accd branch-4.1: [fix](be) Enforce the sort cursor block
invariant in release builds #68495 (#68519)
d263a17accd is described below
commit d263a17accdb1aebc23c60d27708288599a89054
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Sep 26 21:05:39 2026 +0800
branch-4.1: [fix](be) Enforce the sort cursor block invariant in release
builds #68495 (#68519)
Cherry-picked from #68495
Co-authored-by: yiguolei <[email protected]>
---
be/src/exec/sort/sort_cursor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/exec/sort/sort_cursor.h b/be/src/exec/sort/sort_cursor.h
index 6d30c4a9351..31b492a49e4 100644
--- a/be/src/exec/sort/sort_cursor.h
+++ b/be/src/exec/sort/sort_cursor.h
@@ -160,7 +160,7 @@ struct BlockSupplierSortCursorImpl : public
MergeSortCursorImpl {
}
block->clear();
THROW_IF_ERROR(_block_supplier(block.get(), &_is_eof));
- DCHECK(!block->empty() or _is_eof);
+ DORIS_CHECK(!block->empty() || _is_eof);
if (!block->empty()) {
if (!_ordering_expr.empty()) {
DCHECK_EQ(_ordering_expr.size(), desc.size());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]