Skip to content

Commit 25a924b

Browse files
committed
docs: move DataFusion 56 upgrade notes to 6.0.0
Version 5.0.0 will be released before the dependency upgrade, so keep its guide limited to changes included in that release.
1 parent 23bfd3e commit 25a924b

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

‎docs/upgrade/5.0.0.md‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,3 @@ A coordinator and a worker on different versions cannot decode each other's
154154
sketches, and with metrics collection enabled (the default) the decode error
155155
fails the query. Upgrade coordinators and workers together, or disable metrics
156156
collection with `with_distributed_metrics_collection(false)` during the rollout.
157-
158-
## 7. Upgrade DataFusion and Arrow dependencies
159-
160-
DataFusion Distributed now targets DataFusion 56, Arrow 60, and Parquet 60.
161-
Applications that depend on these crates directly must use compatible versions
162-
to avoid duplicate, incompatible Arrow and DataFusion types.
163-
164-
DataFusion 56 also changes `TableProvider::scan` to borrow projections as a
165-
slice. Update custom table providers from `Option<&Vec<usize>>` to
166-
`Option<&[usize]>`. If the projection must be retained, clone it with
167-
`projection.map(<[usize]>::to_vec)`.

‎docs/upgrade/6.0.0.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Upgrading from 5.0.0 to 6.0.0
2+
3+
This guide covers the source and behavioural changes merged after the
4+
`v5.0.0` tag.
5+
6+
## 1. Upgrade DataFusion and Arrow dependencies
7+
8+
DataFusion Distributed now targets DataFusion 56, Arrow 60, and Parquet 60.
9+
Applications that depend on these crates directly must use compatible versions
10+
to avoid duplicate, incompatible Arrow and DataFusion types.
11+
12+
DataFusion 56 also changes `TableProvider::scan` to borrow projections as a
13+
slice. Update custom table providers from `Option<&Vec<usize>>` to
14+
`Option<&[usize]>`. If the projection must be retained, clone it with
15+
`projection.map(<[usize]>::to_vec)`.

0 commit comments

Comments
 (0)