kunishou's picture
Upload 284 files
2eae90c verified
raw
history blame
No virus
1.54 kB
SHELL=/bin/bash
PYTHON=.venv/bin/python
.venv:
@python -m venv .venv
@.venv/bin/pip install -U pip
@.venv/bin/pip install --no-cache-dir -r requirements.txt
.fireducks:
@python -m venv .fireducks
@.venv/bin/pip install -U pip
@.venv/bin/pip install --no-cache-dir -r requirements-fireducks.txt
clean-tpch-dbgen:
$(MAKE) -C tpch-dbgen clean
clean-venv:
rm -r .venv
clean-tables:
rm -r tables_scale_*
clean: clean-tpch-dbgen clean-venv
tables_scale_1: .venv
$(MAKE) -C tpch-dbgen all
cd tpch-dbgen && ./dbgen -vf -s 1 && cd ..
mkdir -p "tables_scale_1"
mv tpch-dbgen/*.tbl tables_scale_1/
.venv/bin/python prepare_files.py 1
tables_scale_10: .venv
$(MAKE) -C tpch-dbgen all
cd tpch-dbgen && ./dbgen -vf -s 10 && cd ..
mkdir -p "tables_scale_10"
mv tpch-dbgen/*.tbl tables_scale_10/
.venv/bin/python prepare_files.py 10
run_polars: .venv
.venv/bin/python -m polars_queries.executor
run_pandas: .venv
.venv/bin/python -m pandas_queries.executor
run_fireducks: .fireducks
.fireducks/bin/python -m fireducks_queries.executor
run_dask: .venv
.venv/bin/python -m dask_queries.executor
run_modin: .venv
.venv/bin/python -m modin_queries.executor
run_vaex: .venv
.venv/bin/python -m vaex_queries.executor
run_spark: .venv
.venv/bin/python -m spark_queries.executor
run_duckdb: .venv
.venv/bin/python -m duckdb_queries.executor
plot_results: .venv
.venv/bin/python -m scripts.plot_results
run_all: run_polars run_pandas run_fireducks
pre-commit:
.venv/bin/python -m isort .
.venv/bin/python -m black .