Skip to content

Commit

Permalink
chore: refine runtime filter log (#15335)
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 authored Apr 25, 2024
1 parent 97277ad commit 82c3ced
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,13 @@ pub fn runtime_filter_pruner(
false
});

if pruned {
info!(
"Pruned partition with {:?} rows by runtime filter",
part.nums_rows
);
Profile::record_usize_profile(ProfileStatisticsName::RuntimeFilterPruneParts, 1);
return Ok(true);
}
info!(
"Pruned partition with {:?} rows by runtime filter",
part.nums_rows
);
Profile::record_usize_profile(ProfileStatisticsName::RuntimeFilterPruneParts, 1);

Ok(false)
Ok(pruned)
}

pub(crate) fn update_bitmap_with_bloom_filter(
Expand Down

0 comments on commit 82c3ced

Please sign in to comment.