Skip to content

Commit

Permalink
Upgrade to DataFusion 43, fix a bug, add more tests (#53)
Browse files Browse the repository at this point in the history
* Implementing Unit testing for Python

* Installing all deps in CI

* Adding maturin develop

* Restoring correct input partitioning

* Generated new plans

* Restored test plans for ignored tests

* tests

* fix

* fix

* update expected plans

* update expected plans

* revert some changes

* remove comment

* updated plans

* upgrade to DF 43

* update deps, more tests

* bug fix

---------

Co-authored-by: Edmondo Porcu <[email protected]>
  • Loading branch information
andygrove and edmondop authored Dec 14, 2024
1 parent 31f8833 commit 151a0e2
Show file tree
Hide file tree
Showing 31 changed files with 346 additions and 280 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install protobuf compiler
shell: bash
run: sudo apt-get install protobuf-compiler
- name: Build Rust code
run: cargo build --verbose
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install test dependencies
Expand All @@ -49,5 +49,12 @@ jobs:
- name: Generate test data
run: |
./scripts/gen-test-data.sh
- name: Run tests
- name: Run Rust tests
run: cargo test --verbose
- name: Run Python tests
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements-in.txt
maturin develop
python -m pytest
Loading

0 comments on commit 151a0e2

Please sign in to comment.