This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 592ced9129f5d7e93bd133ad2d07b987ebbd7f9a
Author: bobhan1 <[email protected]>
AuthorDate: Fri Sep 15 19:58:21 2023 +0800

    [Fix](Status) Disable printing stacktrace for InvalidArgument in 
BitShufflePageDecoder::seek_to_position_in_page #24419
---
 be/src/olap/rowset/segment_v2/bitshuffle_page.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/rowset/segment_v2/bitshuffle_page.h 
b/be/src/olap/rowset/segment_v2/bitshuffle_page.h
index 1d22b76b80..05d07acf88 100644
--- a/be/src/olap/rowset/segment_v2/bitshuffle_page.h
+++ b/be/src/olap/rowset/segment_v2/bitshuffle_page.h
@@ -320,7 +320,7 @@ public:
         DCHECK(_parsed) << "Must call init()";
         if (PREDICT_FALSE(_num_elements == 0)) {
             DCHECK_EQ(0, pos);
-            return Status::InvalidArgument("invalid pos");
+            return Status::Error<ErrorCode::INVALID_ARGUMENT, false>("invalid 
pos");
         }
 
         DCHECK_LE(pos, _num_elements);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to