@@ -450,19 +450,6 @@ Status OlapScanLocalState::_init_scanners(std::list<vectorized::ScannerSPtr>* sc
450450 return Status::OK ();
451451 }
452452 SCOPED_TIMER (_scanner_init_timer);
453-
454- if (!_conjuncts.empty () && _state->enable_profile ()) {
455- std::string message;
456- for (auto & conjunct : _conjuncts) {
457- if (conjunct->root ()) {
458- if (!message.empty ()) {
459- message += " , " ;
460- }
461- message += conjunct->root ()->debug_string ();
462- }
463- }
464- custom_profile ()->add_info_string (" RemainedDownPredicates" , message);
465- }
466453 auto & p = _parent->cast <OlapScanOperatorX>();
467454
468455 for (auto uid : p._olap_scan_node .output_column_unique_ids ) {
@@ -834,23 +821,6 @@ void OlapScanLocalState::set_scan_ranges(RuntimeState* state,
834821 }
835822}
836823
837- static std::string predicates_to_string (
838- const phmap::flat_hash_map<int , std::vector<std::shared_ptr<ColumnPredicate>>>&
839- slot_id_to_predicates) {
840- fmt::memory_buffer debug_string_buffer;
841- for (const auto & [slot_id, predicates] : slot_id_to_predicates) {
842- if (predicates.empty ()) {
843- continue ;
844- }
845- fmt::format_to (debug_string_buffer, " Slot ID: {}: [" , slot_id);
846- for (const auto & predicate : predicates) {
847- fmt::format_to (debug_string_buffer, " {{{}}}, " , predicate->debug_string ());
848- }
849- fmt::format_to (debug_string_buffer, " ] " );
850- }
851- return fmt::to_string (debug_string_buffer);
852- }
853-
854824static std::string tablets_id_to_string (
855825 const std::vector<std::unique_ptr<TPaloScanRange>>& scan_ranges) {
856826 if (scan_ranges.empty ()) {
@@ -960,8 +930,6 @@ Status OlapScanLocalState::_build_key_ranges_and_filters() {
960930 }
961931
962932 if (state ()->enable_profile ()) {
963- custom_profile ()->add_info_string (" PushDownPredicates" ,
964- predicates_to_string (_slot_id_to_predicates));
965933 custom_profile ()->add_info_string (" KeyRanges" , _scan_keys.debug_string ());
966934 custom_profile ()->add_info_string (" TabletIds" , tablets_id_to_string (_scan_ranges));
967935 }
0 commit comments