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

   ## Is your feature request related to a problem or challenge?
   
   `./bench.sh data tpcds` gets its TPC-DS SF1 data by downloading the zip of 
the entire 
[apache/datafusion-benchmarks](https://github.com/apache/datafusion-benchmarks) 
repository (`benchmarks/bench.sh`, `data_tpcds()`) and extracting 
`tpcds/data/sf1/*`. That repository is large, mostly because the SF1 parquet 
files have been committed several times, and we are considering archiving it.
   
   [`tpcgen-cli`](https://github.com/datafusion-contrib/tpcgen-rs) (v4.0.0, the 
successor to `tpchgen-cli`) now generates TPC-DS as well as TPC-H, and produces 
SF1 parquet in a couple of seconds.
   
   ## Describe the solution you'd like
   
   - Change `data_tpcds()` in `benchmarks/bench.sh` to generate the data, for 
example `tpcgen-cli tpcds parquet -s 1 --parts=1 --output-dir "${TPCDS_DIR}"`, 
instead of downloading the zip.
   - Consider moving `data_tpch` from `tpchgen-cli` to `tpcgen-cli tpch` at the 
same time, so only one tool is needed.
   - Update `benchmarks/README.md`, which currently tells users to clone 
`datafusion-benchmarks` and point `DATA_DIR` at `tpcds/data/sf1/`.
   
   Things to verify:
   - `run_tpcds` expects one file per table (such as `web_site.parquet`) 
directly under `tpcds_sf1/`, so check what layout `--parts=1` produces.
   - All 99 queries should run against the generated data. Column types 
(decimals, dates, key widths) may differ from the committed parquet.
   - Timings won't be directly comparable with runs against the old data.
   
   ## Additional context
   
   This removes DataFusion's dependency on `apache/datafusion-benchmarks`. The 
archiving discussion will be linked from that repository.
   


-- 
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