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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7f9eeb8fc3 [BUG] runtime filter core dump (#10716)
7f9eeb8fc3 is described below

commit 7f9eeb8fc31550e2406251fd9d5ba57bfad89fb5
Author: Gabriel <[email protected]>
AuthorDate: Sat Jul 9 21:36:22 2022 +0800

    [BUG] runtime filter core dump (#10716)
---
 be/src/vec/exec/volap_scan_node.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/be/src/vec/exec/volap_scan_node.cpp 
b/be/src/vec/exec/volap_scan_node.cpp
index fc3cb0f59f..fd77f50ff7 100644
--- a/be/src/vec/exec/volap_scan_node.cpp
+++ b/be/src/vec/exec/volap_scan_node.cpp
@@ -482,6 +482,10 @@ void VOlapScanNode::scanner_thread(VOlapScanner* scanner) {
     }
 
     if (!vexprs.empty()) {
+        if (*scanner->vconjunct_ctx_ptr()) {
+            (*scanner->vconjunct_ctx_ptr())->close(state);
+            *scanner->vconjunct_ctx_ptr() = nullptr;
+        }
         WARN_IF_ERROR((*_vconjunct_ctx_ptr)->clone(state, 
scanner->vconjunct_ctx_ptr()),
                       "Something wrong for runtime filters: ");
         scanner->set_use_pushdown_conjuncts(true);


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

Reply via email to