Skip to content

Commit 6a2df77

Browse files
authored
Improve db-benchmark (apache#372)
1 parent b8c74a7 commit 6a2df77

7 files changed

Lines changed: 404 additions & 81 deletions

File tree

‎.github/workflows/test.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
102102
run: |
103103
source venv/bin/activate
104-
flake8 --exclude venv --ignore=E501,W503
104+
flake8 --exclude venv,benchmarks/db-benchmark --ignore=E501,W503
105105
black --line-length 79 --diff --check .
106106
107107
- name: Run tests

‎benchmarks/db-benchmark/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ DataFusion's Python bindings.
2727
Run the following from root of this project.
2828

2929
```bash
30-
$ docker build -t db-benchmark -f benchmarks/db-benchmark/db-benchmark.dockerfile .
31-
$ docker run --privileged -it db-benchmark
30+
docker build -t db-benchmark -f benchmarks/db-benchmark/db-benchmark.dockerfile .
31+
docker run --privileged -it db-benchmark
3232
```

‎benchmarks/db-benchmark/db-benchmark.dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ RUN #./duckdb/setup-duckdb.sh
108108
# END OF SETUP
109109

110110
RUN python3 -m pip install --upgrade pandas
111+
RUN python3 -m pip install --upgrade polars psutil
111112
RUN python3 -m pip install --upgrade datafusion
112113

113114
# Now add our solution

0 commit comments

Comments
 (0)