You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ca...@apache.org on 2025/12/26 03:15:01 UTC

(doris) branch bugfix_bitmap created (now ac7655bea7d)

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

caiconghui pushed a change to branch bugfix_bitmap
in repository https://gitbox.apache.org/repos/asf/doris.git


      at ac7655bea7d fix(core): fix be core due to explode bitmap size exceed INT_MAX

This branch includes the following new commits:

     new ac7655bea7d fix(core): fix be core due to explode bitmap size exceed INT_MAX

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


(doris) 01/01: fix(core): fix be core due to explode bitmap size exceed INT_MAX

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

caiconghui pushed a commit to branch bugfix_bitmap
in repository https://gitbox.apache.org/repos/asf/doris.git

commit ac7655bea7dae6ee359331f011087396c4f5d7ab
Author: caiconghui1 <ca...@jd.com>
AuthorDate: Tue Mar 25 16:58:32 2025 +0800

    fix(core): fix be core due to explode bitmap size exceed INT_MAX
---
 be/src/vec/exprs/table_function/vexplode_bitmap.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/be/src/vec/exprs/table_function/vexplode_bitmap.cpp b/be/src/vec/exprs/table_function/vexplode_bitmap.cpp
index 1129940c7ea..a7de7690e0f 100644
--- a/be/src/vec/exprs/table_function/vexplode_bitmap.cpp
+++ b/be/src/vec/exprs/table_function/vexplode_bitmap.cpp
@@ -107,7 +107,8 @@ void VExplodeBitmapTableFunction::process_close() {
 }
 
 int VExplodeBitmapTableFunction::get_value(MutableColumnPtr& column, int max_step) {
-    max_step = std::min(max_step, (int)(_cur_size - _cur_offset));
+    max_step = std::min(static_cast<int64_t>(max_step), (_cur_size - _cur_offset));
+    assert(max_step >= 0);
     // should dispose the empty status, forward one step
     if (current_empty()) {
         column->insert_default();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org