rok commented on code in PR #6637:
URL: https://github.com/apache/arrow-rs/pull/6637#discussion_r1987428696


##########
parquet/src/arrow/async_reader/store.rs:
##########
@@ -164,14 +170,36 @@ impl AsyncFileReader for ParquetObjectReader {
     // `AsyncFileReader`, the calls to `MetadataFetch::fetch` are just 
delegated to
     // `Self::get_bytes`.
     fn get_metadata(&mut self) -> BoxFuture<'_, Result<Arc<ParquetMetaData>>> {
+        Box::pin(async move {
+            let file_size = self.meta.size;
+            let metadata = ParquetMetaDataReader::new()
+                .with_column_indexes(self.preload_column_index)
+                .with_offset_indexes(self.preload_offset_index)
+                .with_prefetch_hint(self.metadata_size_hint);
+            #[cfg(feature = "encryption")]
+            let metadata = metadata
+                
.with_decryption_properties(self.file_decryption_properties.clone().as_ref());

Review Comment:
   Removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to