Skip to content

Commit f748060

Browse files
committed
hot fix: disable bloom filter
by using dummy filter only
1 parent 448108b commit f748060

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/query/storages/fuse/src/pruning/bloom_pruner.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ pub fn new_bloom_filter_pruner(
113113
schema: &DataSchemaRef,
114114
dal: Operator,
115115
) -> Result<Arc<dyn BloomFilterPruner + Send + Sync>> {
116+
// due to issue
117+
// https://github.com/datafuselabs/databend/issues/7780
118+
// bloom filter is disabled, just return a NonPruner unconditionally
119+
if true {
120+
return Ok(Arc::new(NonPruner));
121+
}
122+
123+
// the following codes is unreachable, but kept to help diagnostic performance issues
116124
if let Some(exprs) = filter_exprs {
117125
if exprs.is_empty() {
118126
return Ok(Arc::new(NonPruner));

0 commit comments

Comments
 (0)