-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest datafusion main (#945)
Uses latest datafusion main in an attempt to solve apache/datafusion#13762. The example in apache/datafusion#13762 is still failing (the tests added in this branch were switched to using `unwrap_err()` instead of `unwrap()`). I'll still merge this PR because there are other breaking changes in the upcoming release of datafusion, and I'd like to make other PRs here that use the latest API.
- Loading branch information
1 parent
b612869
commit b999078
Showing
19 changed files
with
483 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,27 +96,28 @@ jobs: | |
- name: Test | ||
run: cargo check ${{ matrix.args }} | ||
|
||
build-benchmarks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: "recursive" | ||
# We use nightly for now so that we can pass RUSTFLAGS below to work around | ||
# https://github.com/geoarrow/geoarrow-rs/issues/716 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
activate-environment: true | ||
cache: true | ||
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | ||
manifest-path: build/pixi.toml | ||
- name: Tweak environment to find GDAL | ||
run: | | ||
echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV" | ||
echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" | ||
- name: Build benchmarks with no features | ||
run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run | ||
- name: Build benchmarks with all features | ||
run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run --all-features | ||
# We don't build benchmarks on CI because they're quite slow to compile | ||
# build-benchmarks: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# submodules: "recursive" | ||
# # We use nightly for now so that we can pass RUSTFLAGS below to work around | ||
# # https://github.com/geoarrow/geoarrow-rs/issues/716 | ||
# - uses: dtolnay/rust-toolchain@nightly | ||
# - uses: Swatinem/rust-cache@v2 | ||
# - uses: prefix-dev/[email protected] | ||
# with: | ||
# activate-environment: true | ||
# cache: true | ||
# cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | ||
# manifest-path: build/pixi.toml | ||
# - name: Tweak environment to find GDAL | ||
# run: | | ||
# echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV" | ||
# echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" | ||
# - name: Build benchmarks with no features | ||
# run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run | ||
# - name: Build benchmarks with all features | ||
# run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run --all-features |
Oops, something went wrong.