Skip to content

Commit 82c3ced

Browse files
authored
chore: refine runtime filter log (#15335)
1 parent 97277ad commit 82c3ced

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/query/storages/fuse/src/operations/read/runtime_filter_prunner.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,13 @@ pub fn runtime_filter_pruner(
9090
false
9191
});
9292

93-
if pruned {
94-
info!(
95-
"Pruned partition with {:?} rows by runtime filter",
96-
part.nums_rows
97-
);
98-
Profile::record_usize_profile(ProfileStatisticsName::RuntimeFilterPruneParts, 1);
99-
return Ok(true);
100-
}
93+
info!(
94+
"Pruned partition with {:?} rows by runtime filter",
95+
part.nums_rows
96+
);
97+
Profile::record_usize_profile(ProfileStatisticsName::RuntimeFilterPruneParts, 1);
10198

102-
Ok(false)
99+
Ok(pruned)
103100
}
104101

105102
pub(crate) fn update_bitmap_with_bloom_filter(

0 commit comments

Comments
 (0)