Upgrade DataFusion to 56, or 55 if the ecosystem stops there
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- mysql, postgresql, rust
- Ambito
- backend, data-engineering, databases
Direzione di ricerca
Start by checking the four ecosystem crates in the decision table for compatible releases, then read the DataFusion 55 and 56 upgrade guides. The issue names key Beacon files, including beacon-file-stats/src/pruning.rs, beacon-arrow-atlas/src/datafusion/pruning.rs, and beacon-datafusion-ext/src/scan_adapt.rs; use its checklist to locate the remaining implementations and tests. Done means choosing a supported version, upgrading Beacon and its dependencies, porting the external spatial fork, and checking the listed behavior changes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Parent: #510
Upgrade the workspace from DataFusion 53 to the newest DataFusion major that the file-format ecosystem supports. The target is 56. Fall back to 55 if the ecosystem stops there. Do not stop at 54: that version has the same code work and the same Delta problem, and it is one year old by December.
Decision rule
Decide the version on 2026-11-01, or earlier when the signals arrive. Pick the highest DataFusion major with a crates.io release of all four:
| Crate | Why it decides | State on 2026-09-21 |
|---|---|---|
| lance | Hands record batches to DataFusion. Two Arrow copies are not an option. | 12.0.0 is DataFusion 54, Arrow 58, object_store 0.14. object_store 0.14 matches DataFusion 56, not 55. Lance probably skips 55. |
| deltalake | Same. | 0.32.4 is DataFusion 53. Main is DataFusion 55, Arrow 59, version 3.0.0 unreleased. |
| iceberg-datafusion | Same. | 0.11.0 (release candidate) is DataFusion 54. The crate moved to apache/datafusion-iceberg, which is on DataFusion 55 with no release. |
| datafusion-table-providers | Federation of PostgreSQL, MySQL, ODBC. | 0.13.1 is DataFusion 54, Arrow 58. |
Ready already for Arrow 59: datafusion-federation 0.5.6 (DataFusion 55), geoarrow and geoparquet 0.9, axum-streams 0.29, arrow-odbc 25.3.
Own work outside this repository: the datafusion-spatial fork sits on Arrow 58 and GeoArrow 0.8. Port it to the Arrow major of the chosen DataFusion, and add the matching df55 or df56 feature.
If no version qualifies by 2026-11-15, ship 2.1.0 on DataFusion 53 and move this issue to the next release.
Work in Beacon
Known from the DataFusion 54 spike of 2026-09-21. The 54 changes apply to 55 and 56 too.
DataFusion 54:
- Remove
as_anyfrom 105 trait implementations and drop.as_any()at about 55 downcast sites. Mechanical. -
PruningStatistics::row_countsloses its column argument. Three Beacon implementations answer per column:beacon-file-stats/src/pruning.rs,beacon-arrow-atlas/src/datafusion/pruning.rs,beacon-arrow-bbf/src/datafusion/opener.rs. The BBF "absent column" trick needs a new design. - The
FileStatisticsCacheimplementation inbeacon-datafusion-ext/src/stats_cache.rsmust adoptTableScopedPathand the cache limit methods. -
CastColumnExpris gone. Use the field-awareCastExprinbeacon-datafusion-ext/src/scan_adapt.rs. - Lance API jump from 7 to the chosen version, about 40 call sites in
beacon-lance.
DataFusion 55, from the upstream upgrade guide:
-
TableProvider::scantakesOption<&[usize]>for the projection. 9 implementations. -
ExecutionPlan::apply_expressionsis required. 6 implementations. -
with_new_childrenandpartition_statisticsare deprecated. - Catalog, planner and optimizer contracts move to
datafusion-session. Physical planning state moves toPhysicalPlanningContext. -
ListingOptions::target_partitionsandcollect_statare removed.
DataFusion 56, from the upstream upgrade guide:
- Arrow 60, Parquet 60, object_store 0.14.2. Every object store adapter in Beacon changes, and the redb object store with it.
- Field and schema metadata use Arrow's
Metadatatype. - Physical filter pushdown resolves columns by position.
Behavior changes to test
- String and number comparisons coerce to numbers (54).
int_col = 'abc'errors instead of an empty result. Check ODV and CSV data with mixed types. - The scan stream no longer prefetches the next file (54). Run the atlas scan profile.
- Filter predicate evaluation order can differ from the query text (55).
- Missing Parquet null counts count as unknown (56).
Reference
The DataFusion 54 pairing that resolved on 2026-09-21, for a fallback: datafusion ^54, datafusion-federation =0.5.5, datafusion-table-providers =0.12.1, lance =11.0.0, iceberg 0.11.0, deltalake from delta-rs git rev a98860b476, datafusion-spatial with feature df54.
- Lingua principale
- Rust
- Stelle
- 16
- Fork
- 4
- Merge medio
- 19h 58m
- PR unite (30g)
- 39
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di maris-development/beacon
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
maris-development/beacon#704 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
maris-development/beacon#681 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort-S python
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
maris-development/beacon#494 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort-S tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
maris-development/beacon#493 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
maris-development/beacon#687 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di maris-development/beacon
Issue simili
-
autofix:working
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
libracoder/kiri#1138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
roc-lang/basic-webserver#277 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
samkerrcode/opengent#113 ·
I maintainer di solito rispondono entro 1 giorno
-
app bug session
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno