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

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


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new e691611c44f branch-4.0: [fix](function)The json_remove function did 
not initialize nullmap. #57995 (#58000)
e691611c44f is described below

commit e691611c44f08898641db535893abde29f60241e
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 14 10:25:33 2025 +0800

    branch-4.0: [fix](function)The json_remove function did not initialize 
nullmap. #57995 (#58000)
    
    Cherry-picked from #57995
    
    Co-authored-by: Mryange <[email protected]>
---
 be/src/vec/functions/function_jsonb.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/functions/function_jsonb.cpp 
b/be/src/vec/functions/function_jsonb.cpp
index c4ab4efef81..abfbc527d4b 100644
--- a/be/src/vec/functions/function_jsonb.cpp
+++ b/be/src/vec/functions/function_jsonb.cpp
@@ -2747,7 +2747,7 @@ public:
 
         res_chars.reserve(input_rows_count * 64);
         res_offsets.resize(input_rows_count);
-        null_map.resize(input_rows_count);
+        null_map.resize_fill(input_rows_count, 0);
 
         // Get JSON document column
         auto [json_column, json_const] =


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

Reply via email to