This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 003ed3923 chore(rust): support arrow 56 (#3230)
003ed3923 is described below
commit 003ed39230223fafc6ff5b4a2513d5ea41fbdfe9
Author: eitsupi <[email protected]>
AuthorDate: Tue Aug 5 09:05:06 2025 +0900
chore(rust): support arrow 56 (#3230)
Expands support for arrow to include the latest version 56.
Since datafusion does not support arrow 56, the arrow version on
Cargo.lock will not be updated (updating it will cause adbc_datafusion
to fail to build).
Therefore, update the CI to check whether tests other than
adbc_datafusion pass with the latest arrow.
Closes #3229.
---
.github/workflows/rust.yml | 16 ++++++++++++++++
rust/Cargo.toml | 8 ++++----
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index c5d0d0c11..b3a21c24e 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -208,3 +208,19 @@ jobs:
echo "Checking package '$dir'"
cargo msrv verify --manifest-path "$dir" || exit 1
done
+
+ - name: Verify supports the latest arrow
+ if: matrix.os == 'ubuntu-latest' && ! matrix.minimal-versions
+ working-directory: rust
+ run: |
+ # Update arrow to the latest version in the lock file
+ cargo update \
+ -p arrow-array \
+ -p arrow-buffer \
+ -p arrow-schema \
+ -p arrow-select
+
+ # If the lock file was updated, run the tests except for
adbc_datafusion
+ if ! git diff --quiet Cargo.lock; then
+ cargo test --all-targets --all-features --workspace --exclude
adbc_datafusion
+ fi
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 730492c6e..722208338 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -35,9 +35,9 @@ categories = ["database"]
[workspace.dependencies]
adbc_core = { path = "./core", version = "0.20.0" }
-arrow-array = { version = ">=53.1.0, <56", default-features = false, features
= [
+arrow-array = { version = ">=53.1.0, <57", default-features = false, features
= [
"ffi",
] }
-arrow-buffer = { version = ">=53.1.0, <56", default-features = false }
-arrow-schema = { version = ">=53.1.0, <56", default-features = false }
-arrow-select = { version = ">=53.1.0, <56", default-features = false }
+arrow-buffer = { version = ">=53.1.0, <57", default-features = false }
+arrow-schema = { version = ">=53.1.0, <57", default-features = false }
+arrow-select = { version = ">=53.1.0, <57", default-features = false }