alexanderbianchi opened a new pull request, #142: URL: https://github.com/apache/datafusion-iceberg/pull/142
Depends on #141 for the upstream reader options API. This carries forward the concurrency and pruning settings from #126. Rust callers can pass the upstream `iceberg::arrow::ArrowReaderOptions` directly when building a config for a query: ```rust let reader = ArrowReaderOptions::builder().with_batch_size(2048).build(); let query_config = session_config.clone().with_extension(Arc::new(reader)); ``` Both Iceberg table providers use that complete value when planning the scan. Fields the caller leaves unset take Iceberg defaults, including host parallelism for unset file concurrency. An explicit `IcebergDataSourceBuilder::with_reader` still takes precedence. Without a typed override, the reader uses the session settings below. SQL users can register `IcebergDataFusionConfig` and run, for example, `SET iceberg.execution.data_file_concurrency_limit = 4` before planning a scan. | Config prefix | Reader settings | | --- | --- | | `datafusion.execution` | `batch_size` | | `datafusion.execution.parquet` | `pruning`, `enable_page_index`, `bloom_filter_on_read`, `metadata_size_hint` | | `iceberg.execution` | `data_file_concurrency_limit` (default one per output partition) | | `iceberg.execution.parquet` | `range_coalesce_bytes`, `range_fetch_concurrency`, `preload_column_index`, `preload_offset_index`, `preload_page_index` | This enables Bloom-filter reads by default in the session-settings path, following DataFusion. Iceberg accepts the stored `preload_page_index` flag but derives its effective value per file from predicates and deletes. Tests cover the SQL option mapping, observable batch sizes with a typed override, row-group pruning I/O, and scans with zero file concurrency. Verified locally with `cargo fmt --all -- --check`, `cargo clippy --workspace --locked --all-targets -- -D warnings`, and `cargo test --workspace --locked`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
