You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by mb...@apache.org on 2026/06/24 16:51:35 UTC
(datafusion-comet) branch main updated: perf: add metadata size hint to Parquet reader to match Iceberg path (#4717)
This is an automated email from the ASF dual-hosted git repository.
mbutrovich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new 9def193d56 perf: add metadata size hint to Parquet reader to match Iceberg path (#4717)
9def193d56 is described below
commit 9def193d56f9b8f4dd494b5cf502009208482f77
Author: Matt Butrovich <mb...@users.noreply.github.com>
AuthorDate: Wed Jun 24 12:51:30 2026 -0400
perf: add metadata size hint to Parquet reader to match Iceberg path (#4717)
---
native/core/src/parquet/parquet_exec.rs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/native/core/src/parquet/parquet_exec.rs b/native/core/src/parquet/parquet_exec.rs
index d7a04e975c..016af8776d 100644
--- a/native/core/src/parquet/parquet_exec.rs
+++ b/native/core/src/parquet/parquet_exec.rs
@@ -130,8 +130,9 @@ pub(crate) fn init_datasource_exec(
let table_schema =
TableSchema::from_file_schema(base_schema).with_table_partition_cols(partition_fields);
- let mut parquet_source =
- ParquetSource::new(table_schema).with_table_parquet_options(table_parquet_options);
+ let mut parquet_source = ParquetSource::new(table_schema)
+ .with_table_parquet_options(table_parquet_options)
+ .with_metadata_size_hint(512 * 1024); // Same as DataFusion's default
if encryption_enabled {
parquet_source = parquet_source.with_encryption_factory(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org