This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 01bc7639365 [exec](profile) only build expr debug string enable
profile (#28976)
01bc7639365 is described below
commit 01bc76393650c558997baf1417a3398d2d290e4e
Author: HappenLee <[email protected]>
AuthorDate: Tue Dec 26 10:13:59 2023 +0800
[exec](profile) only build expr debug string enable profile (#28976)
---
be/src/vec/exec/scan/new_olap_scan_node.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/exec/scan/new_olap_scan_node.cpp
b/be/src/vec/exec/scan/new_olap_scan_node.cpp
index f7611a23d85..6bdc9aba1d0 100644
--- a/be/src/vec/exec/scan/new_olap_scan_node.cpp
+++ b/be/src/vec/exec/scan/new_olap_scan_node.cpp
@@ -434,7 +434,7 @@ Status
NewOlapScanNode::_init_scanners(std::list<VScannerSPtr>* scanners) {
SCOPED_TIMER(_scanner_init_timer);
auto span = opentelemetry::trace::Tracer::GetCurrentSpan();
- if (!_conjuncts.empty()) {
+ if (!_conjuncts.empty() && VScanNode::_state->enable_profile()) {
std::string message;
for (auto& conjunct : _conjuncts) {
if (conjunct->root()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]