From a5a7ab3c65a2a736b388aa3a750d3d3cd84cd0dd Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 12 Dec 2023 11:39:08 +0800 Subject: [PATCH] [pipelineX](profile) Add debug string if enable profile (#28262) --- be/src/pipeline/exec/olap_scan_operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/pipeline/exec/olap_scan_operator.cpp b/be/src/pipeline/exec/olap_scan_operator.cpp index 3f0cc36942..1e9c4da1e8 100644 --- a/be/src/pipeline/exec/olap_scan_operator.cpp +++ b/be/src/pipeline/exec/olap_scan_operator.cpp @@ -220,7 +220,7 @@ Status OlapScanLocalState::_init_scanners(std::list* s } SCOPED_TIMER(_scanner_init_timer); - if (!_conjuncts.empty()) { + if (!_conjuncts.empty() && RuntimeFilterConsumer::_state->enable_profile()) { std::string message; for (auto& conjunct : _conjuncts) { if (conjunct->root()) {