Avoid side effects by cached state

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
performance

Research direction

Start with tpcbench.py and trace how query executions are performed. Check where cached tables persist between queries, then ensure they are cleared before each execution. Done means separate query runs no longer retain cached PySpark tables or affect benchmark results.

Written by the indexing model from the issue text.

Description

The existing TPCH benchmark script, tpcbench.py, retains PySpark's cached tables across different query executions. This can lead to unintended side effects on the benchmark results. Therefore, we should clear the cached tables before each query execution.

Dominant language
Python
Stars
23
Forks
19
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/datafusion-benchmarks

All issues in apache/datafusion-benchmarks

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.