Avatar for the Eventual-Inc user
Eventual-Inc
Daft
BlogDocsChangelog

Performance History

Latest Results

Fix unequal-partition sample regression test
johnquevedo:issue-5690-ray-sample-by-size
5 minutes ago
feat(sql): resolve read_iceberg io_config from table properties and default config (#7273) ## Changes Made The SQL `read_iceberg` table function silently ignored both the Iceberg table's embedded FileIO credentials and the context `default_io_config`, so SQL reads couldn't reach object storage that the equivalent Python `daft.read_iceberg(...)` call handled fine. Two root causes: - The Rust scan path (`iceberg_scan` in `scan_builder.rs`) built the `StorageConfig` from `io_config.unwrap_or_default()`, discarding any fallback. - `functions::args::parse_io_config` forced an empty `IOConfig` default when the SQL arg was unset, pre-empting the fallback entirely. This PR: - Introduces a shared `resolve_iceberg_io_config` helper in `daft/io/iceberg/_iceberg.py` implementing the standard precedence โ€” **explicit `io_config` arg > table PyIceberg FileIO properties (S3/Azure/GCS creds + `oss://` alias) > context `default_io_config`**. - Calls that single helper from **both** the Python `read_iceberg` API and the Rust SQL scan path (resolved inside `Python::attach`, mirroring how the path already reuses `resolve_snapshot_id`), so the two implementations can't drift apart again. - Keeps the SQL `io_config` arg `None` when unset and drops the now-unused `parse_io_config` helper. ### Testing - `tests/io/iceberg/test_iceberg_io_config.py`: unit tests for the resolver's three-tier precedence (explicit wins / table-props fallback / default_io_config fallback). - `tests/sql/test_sql_read_iceberg.py`: end-to-end test asserting the context `default_io_config` reaches the scan's `StorageConfig` via `SELECT * FROM read_iceberg(...)`. - Local: `make build` OK; focused suites 12 passed / 1 skipped; `ruff` + `cargo fmt` + clippy clean on `daft-sql` and `daft-logical-plan`. ## Related Issues <!-- none -->
main
5 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
feat: add Ray support for sample by size#7188
2 days ago
74fadd6
johnquevedo:issue-5690-ray-sample-by-size
CodSpeed Performance Gauge
-28%
4 hours ago
e778b9b
ARDA7787:main
CodSpeed Performance Gauge
0%
feat(sql): resolve read_iceberg io_config from table properties and default config#7273
7 hours ago
8eaa2aa
jackylee-ch:sql-read-iceberg-io-config
ยฉ 2026 CodSpeed Technology
Home Terms Privacy Docs