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

morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit 39d1ff6999f924495bac1de847e4a28083afa064
Author: Pxl <[email protected]>
AuthorDate: Thu Mar 10 19:02:19 2022 +0800

    [fix](vectorized) core dump on runtime filter insert because of block 
address change (#8429)
---
 be/src/vec/exec/join/vhash_join_node.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/be/src/vec/exec/join/vhash_join_node.cpp 
b/be/src/vec/exec/join/vhash_join_node.cpp
index 9f93f96..e4f8058 100644
--- a/be/src/vec/exec/join/vhash_join_node.cpp
+++ b/be/src/vec/exec/join/vhash_join_node.cpp
@@ -602,6 +602,11 @@ HashJoinNode::HashJoinNode(ObjectPool* pool, const 
TPlanNode& tnode, const Descr
           _is_outer_join(_match_all_build || _match_all_probe) {
     _runtime_filter_descs = tnode.runtime_filters;
     init_join_op();
+
+    // avoid vector expand change block address.
+    // one block can store 4g data, _build_blocks can store 128*4g data.
+    // if probe data bigger than 512g, runtime filter maybe will core dump 
when insert data.
+    _build_blocks.reserve(128);
 }
 
 HashJoinNode::~HashJoinNode() = default;

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

Reply via email to