@@ -208,6 +208,7 @@ impl ParquetOptions {
208208 binary_as_string : _, // not used for writer props
209209 coerce_int96 : _, // not used for writer props
210210 skip_arrow_metadata : _,
211+ max_predicate_cache_size : _,
211212 } = self ;
212213
213214 let mut builder = WriterProperties :: builder ( )
@@ -400,6 +401,10 @@ pub(crate) fn parse_statistics_string(str_setting: &str) -> Result<EnabledStatis
400401#[ cfg( feature = "parquet" ) ]
401402#[ cfg( test) ]
402403mod tests {
404+ use super :: * ;
405+ use crate :: config:: { ParquetColumnOptions , ParquetEncryptionOptions , ParquetOptions } ;
406+ #[ cfg( feature = "parquet_encryption" ) ]
407+ use crate :: encryption:: map_encryption_to_config_encryption;
403408 use parquet:: {
404409 basic:: Compression ,
405410 file:: properties:: {
@@ -409,11 +414,6 @@ mod tests {
409414 } ;
410415 use std:: collections:: HashMap ;
411416
412- use super :: * ;
413- use crate :: config:: { ParquetColumnOptions , ParquetEncryptionOptions , ParquetOptions } ;
414- #[ cfg( feature = "parquet_encryption" ) ]
415- use crate :: encryption:: map_encryption_to_config_encryption;
416-
417417 const COL_NAME : & str = "configured" ;
418418
419419 /// Take the column defaults provided in [`ParquetOptions`], and generate a non-default col config.
@@ -475,6 +475,7 @@ mod tests {
475475 binary_as_string : defaults. binary_as_string ,
476476 skip_arrow_metadata : defaults. skip_arrow_metadata ,
477477 coerce_int96 : None ,
478+ max_predicate_cache_size : defaults. max_predicate_cache_size ,
478479 }
479480 }
480481
@@ -581,6 +582,8 @@ mod tests {
581582 maximum_buffered_record_batches_per_stream : global_options_defaults
582583 . maximum_buffered_record_batches_per_stream ,
583584 bloom_filter_on_read : global_options_defaults. bloom_filter_on_read ,
585+ max_predicate_cache_size : global_options_defaults
586+ . max_predicate_cache_size ,
584587 schema_force_view_types : global_options_defaults. schema_force_view_types ,
585588 binary_as_string : global_options_defaults. binary_as_string ,
586589 skip_arrow_metadata : global_options_defaults. skip_arrow_metadata ,
0 commit comments