Closed hendrikmakait closed 9 months ago
Is there backstory here, what is the motivation for this?
I only ask because in the early days of the TPCH implementation I made some maybe premature abstractions of queries to their own files somewhat similar to this (although again, I had each query in its own file so a bit different) and it was not well received and resulted in PRs like https://github.com/coiled/benchmarks/pull/1058/files which moved them into the test_<<enigne>>.py
format we have now.
There are two major use cases for this:
dask-expr
for TPC-H queries.This is a step toward #1325
This PR refactors the TPC-H tests so that we have functions that provide us with the queries in another file.
This is 99.9% verbatim copy+paste, I don't touch the queries themselves.