Skip to content

Commit

Permalink
Improve db-benchmark (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove authored May 8, 2023
1 parent b8c74a7 commit 6a2df77
Show file tree
Hide file tree
Showing 7 changed files with 404 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
run: |
source venv/bin/activate
flake8 --exclude venv --ignore=E501,W503
flake8 --exclude venv,benchmarks/db-benchmark --ignore=E501,W503
black --line-length 79 --diff --check .
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/db-benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ DataFusion's Python bindings.
Run the following from root of this project.

```bash
$ docker build -t db-benchmark -f benchmarks/db-benchmark/db-benchmark.dockerfile .
$ docker run --privileged -it db-benchmark
docker build -t db-benchmark -f benchmarks/db-benchmark/db-benchmark.dockerfile .
docker run --privileged -it db-benchmark
```
1 change: 1 addition & 0 deletions benchmarks/db-benchmark/db-benchmark.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ RUN #./duckdb/setup-duckdb.sh
# END OF SETUP

RUN python3 -m pip install --upgrade pandas
RUN python3 -m pip install --upgrade polars psutil
RUN python3 -m pip install --upgrade datafusion

# Now add our solution
Expand Down
Loading

0 comments on commit 6a2df77

Please sign in to comment.