[pipelineX](profile) Add debug string if enable profile (#28262)

This commit is contained in:
Gabriel
2023-12-12 11:39:08 +08:00
committed by GitHub
parent e49ed3d885
commit a5a7ab3c65

View File

@ -220,7 +220,7 @@ Status OlapScanLocalState::_init_scanners(std::list<vectorized::VScannerSPtr>* 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()) {