We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9206ba commit 0d0c02eCopy full SHA for 0d0c02e
parquet/src/bloom_filter/mod.rs
@@ -233,7 +233,7 @@ fn num_of_bits_from_ndv_fpp(ndv: u64, fpp: f64) -> usize {
233
234
impl Sbbf {
235
/// Create a new [Sbbf] with given number of distinct values and false positive probability.
236
- /// Will panic if `fpp` is greater than 1.0 or less than 0.0.
+ /// Will return an error if `fpp` is greater than or equal to 1.0 or less than 0.0.
237
pub(crate) fn new_with_ndv_fpp(ndv: u64, fpp: f64) -> Result<Self, ParquetError> {
238
if !(0.0..1.0).contains(&fpp) {
239
return Err(ParquetError::General(format!(
0 commit comments