andygrove opened a new issue, #34:
URL: https://github.com/apache/datafusion-benchmarks/issues/34

   ## Proposal
   
   Archive this repository once the projects that depend on it have moved off 
it.
   
   ## Why
   
   - **It is slow to clone.** The history is about 813 MB, almost all of it 
TPC-DS SF1 parquet files under `tpcds/data/sf1/` that have been committed three 
times (#24, #25, #31). Each copy includes `store_sales.parquet` (about 100 MB) 
and `catalog_sales.parquet` (about 85 MB).
   - **The data can be generated now.** 
[`tpcgen-cli`](https://github.com/datafusion-contrib/tpcgen-rs) v4 generates 
TPC-H and TPC-DS data in parquet directly, producing SF1 TPC-DS in a couple of 
seconds. There's no longer a need to keep the data in git or maintain the 
Docker/dsdgen generation scripts here (see also #22 and #33).
   - The queries and runners have mostly been copied into the downstream 
repositories already.
   
   Archiving alone wouldn't shrink the repository, but it would stop it growing 
and make clear that it's no longer maintained.
   
   ## Current dependencies
   
   | Repository | Dependency | Tracking issue |
   |---|---|---|
   | apache/datafusion | `benchmarks/bench.sh` `data_tpcds()` downloads 
`archive/refs/heads/main.zip` for the SF1 data. `benchmarks/README.md` refers 
to the clone. | https://github.com/apache/datafusion/issues/27853 |
   | apache/datafusion-comet | `benchmarks/Dockerfile` clones the repository, 
and `benchmarks/README.md` uses `runners/datafusion-comet/tpcbench.py` and 
`tpcds/queries-spark`. The contributor guide benchmarking docs clone it and use 
`tpch/queries`. | https://github.com/apache/datafusion-comet/issues/7793 |
   | apache/datafusion-ballista | `benchmarks/bench.sh` downloads the zip for 
the SF1 data. `benchmarks/README.md` and the benchmarking docs refer to its 
queries and `tpcbench.py`. | 
https://github.com/apache/datafusion-ballista/issues/2983 |
   
   GitHub still serves clones and the `main.zip` download for archived 
repositories, so archiving wouldn't immediately break any of these. But the 
data and scripts would be frozen.
   
   ## Steps
   
   1. Resolve the three tracking issues above.
   2. Add a README notice saying the repository is deprecated and pointing to 
`tpcgen-cli` and the per-project benchmark directories.
   3. Propose archiving on [email protected] (lazy consensus).
   4. File an INFRA ticket to archive `apache/datafusion-benchmarks`.
   
   ## Workaround in the meantime
   
   If you need a local clone, `git clone --filter=blob:none` (or `--depth 1`) 
avoids downloading the old parquet history.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to