Skip to content

Conversation

@EnricoMi
Copy link
Contributor

@EnricoMi EnricoMi commented Jun 23, 2025

The tpchgen-cli binary is installed in .venv/bin, but it is invoked without the path. This only works if .venv is activated.

$ SCALE_FACTOR=1.0 make run-polars
...
mkdir -p "data/tables/scale-1.0"
tpchgen-cli --output-dir="data/tables/scale-1.0" --format=tbl -s 1.0
/bin/bash: Zeile 1: tpchgen-cli: Befehl nicht gefunden
make: *** [Makefile:53: data/tables/.generated] Fehler 127

Using $(VENV_BIN)/tpchgen-cli in the Makefile makes this robust and work without the virtual env activated.

@EnricoMi EnricoMi changed the title Fix calling tpchgen-cli in venv Fix calling tpchgen-cli in .venv Jun 23, 2025
@ritchie46 ritchie46 merged commit 1c2d356 into pola-rs:main Jun 26, 2025
1 of 2 checks passed
r-brink pushed a commit to r-brink/polars-benchmark that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants