File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
datafusion/datasource-parquet/src Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -150,18 +150,13 @@ impl FileOpener for ParquetOpener {
150150 let expr_adapter_factory = self . expr_adapter_factory . clone ( ) ;
151151 let mut predicate_file_schema = Arc :: clone ( & self . logical_file_schema ) ;
152152
153- let mut enable_page_index = self . enable_page_index ;
153+ let enable_page_index = self . enable_page_index ;
154154 let encryption_context = self . get_encryption_context ( ) ;
155155
156156 Ok ( Box :: pin ( async move {
157157 let file_decryption_properties = encryption_context
158158 . get_file_decryption_properties ( & file_location)
159159 . await ?;
160- // For now, page index does not work with encrypted files. See:
161- // https://github.com/apache/arrow-rs/issues/7629
162- if file_decryption_properties. is_some ( ) {
163- enable_page_index = false ;
164- }
165160
166161 // Prune this file using the file level statistics and partition values.
167162 // Since dynamic filters may have been updated since planning it is possible that we are able
You can’t perform that action at this time.
0 commit comments