Upgrade DataFusion to 56, or 55 if the ecosystem stops there
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- mysql, postgresql, rust
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 16
- フォーク
- 4
- 平均マージ
- 19時間 58分
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
maris-development/beacon のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
maris-development/beacon#704 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
maris-development/beacon#681 ·
メンテナーはふだん 1 日以内に返信
-
bug effort-S python
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
maris-development/beacon#494 ·
メンテナーはふだん 1 日以内に返信
-
bug effort-S tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
maris-development/beacon#493 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
maris-development/beacon#687 ·
メンテナーはふだん 1 日以内に返信
maris-development/beacon の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
foundry-rs/starknet-foundry#4733 ·
メンテナーはふだん 4 日以内に返信
-
autofix:working
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
libracoder/kiri#1138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信