Skip to content

Commit 51dc78a

Browse files
chore: update datafusion minor version (#1297)
* Add CI check that FFI example matches datafusion version * Update datafusion to 50.3.0 * Update example to 50.3.0 * Update examples/datafusion-ffi-example/Cargo.toml Co-authored-by: Kevin Liu <[email protected]> --------- Co-authored-by: Kevin Liu <[email protected]>
1 parent a605b61 commit 51dc78a

File tree

7 files changed

+254
-197
lines changed

7 files changed

+254
-197
lines changed

.github/workflows/test.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ jobs:
4444
steps:
4545
- uses: actions/checkout@v5
4646

47+
- name: Verify example datafusion version
48+
run: |
49+
MAIN_VERSION=$(grep -A 1 "name = \"datafusion-common\"" Cargo.lock | grep "version = " | head -1 | sed 's/.*version = "\(.*\)"/\1/')
50+
EXAMPLE_VERSION=$(grep -A 1 "name = \"datafusion-common\"" examples/datafusion-ffi-example/Cargo.lock | grep "version = " | head -1 | sed 's/.*version = "\(.*\)"/\1/')
51+
echo "Main crate datafusion version: $MAIN_VERSION"
52+
echo "FFI example datafusion version: $EXAMPLE_VERSION"
53+
54+
if [ "$MAIN_VERSION" != "$EXAMPLE_VERSION" ]; then
55+
echo "❌ Error: FFI example datafusion versions don't match!"
56+
exit 1
57+
fi
58+
4759
- name: Setup Rust Toolchain
4860
uses: dtolnay/rust-toolchain@stable
4961
id: rust-toolchain

0 commit comments

Comments
 (0)