!1324 Fix I4M0YA, partitioned pages with null as partitionkey can't be processed

Merge pull request !1324 from peiwangdb/fix-I4M0YA-new
This commit is contained in:
i-robot 2021-12-20 08:31:00 +00:00 committed by Gitee
commit db202e451a
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ public class LogicalPart
}
}
BloomFilter filter = new BloomFilter(values.size(), 0.05);
BloomFilter filter = values.size() == 0 ? null : new BloomFilter(values.size(), 0.05);
boolean unsupportedValue = false;
// if the column is being sorted on, we already have min-max values by looking at the
// first and last value of the pages, so we can save some computation by skipping this step