datafusion-contrib/tpcgen-rs
关于
TPC-H benchmark data generation in pure Rust
数据与分析可以做什么
- Blazing Speed 🚀
- Easy to Use: CLI or embeddable libraries
- Obsessively Tested: byte-for-byte identical with the reference generators 📋
- Resource Efficient: multi-core and constant memory use 🧠
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文tpcgen-rs: Quickly and Easily Create TPC-* Benchmark Data
[!NOTE] Made with ❤️ by @clflushopt, @alamb and @kevinjqliu
Originally
clflushopt/tpchgen-rs, the project is now maintained atdatafusion-contrib/tpcgen-rs
Modern, blazing fast and easy to use TPC-H and TPC-DS benchmark data generators.
Goal
Democratize the comparison of analytical systems by making it easy to efficiently generate benchmark data in modern formats such as Apache Parquet, Apache Arrow, and CSV.
Features
- Blazing Speed 🚀
- Easy to Use: CLI or embeddable libraries
- Obsessively Tested: byte-for-byte identical with the reference generators 📋
- Resource Efficient: multi-core and constant memory use 🧠
Quick Start
tpcgen-cli is distributed as a Python package. Run it with uvx:
uvx tpcgen-cli tpch parquet -s 1 --output-dir /tmp/tpch
uvx tpcgen-cli tpcds parquet -s 1 --output-dir /tmp/tpcds
Or install it with pip:
python -m pip install tpcgen-cli
tpcgen-cli tpch parquet -s 1 --output-dir /tmp/tpch
See the tpcgen-cli README for more examples.
Representative Performance (10x Faster)

Time to generate TPC-H Scale Factor 100 data in Parquet format. See the performance spreadsheet for details and more comparisons.
Sub projects
| Project | Description |
|---|---|
tpcgen-cli |
Command line tool to generate TPC-H and TPC-DS data in multiple formats |
tpchgen-cli |
Command line tool to generate only TPC-H data in multiple formats (kept for backwards compatibility) |
tpchgen |
Rust library to generate TPC-H data (zero dependencies) |
tpchgen-arrow |
Rust library to generate TPC-H data in Apache Arrow format |
tpcdsgen |
Rust library to generate TPC-DS data (zero dependencies) |
tpcdsgen-arrow |
Rust library to generate TPC-DS data in Apache Arrow format |
Testing
We go to great lengths to ensure our data generators produce the same exact bytes as the reference implementations, both for single and multi-part output. Our multi-level strategy for ensuring correctness is detailed in TESTING.md and includes comparing the output of our generators to the original reference implementations as part of CI.
Contributing
Pull requests are welcome. For major changes, please open an issue first for discussion. See our contributors guide for more details.
Architecture
Please see architecture guide for details on how the code is structured.
License
The project is licensed under the Apache License 2.0.
探索相关项目
加载中…