Skip to content

feat: DuckLake row lineage (rowid virtual column) (#115) #46

feat: DuckLake row lineage (rowid virtual column) (#115)

feat: DuckLake row lineage (rowid virtual column) (#115) #46

Workflow file for this run

name: Benchmark
on:
push:
branches: [main]
workflow_dispatch: # Allow manual trigger
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTC_WRAPPER: "sccache"
jobs:
benchmark:
name: Run TPC-H Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- name: Install sccache
uses: mozilla-actions/sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
- name: Cache Cargo registry
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo index
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Cache TPC-H test data
id: cache-tpch
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: |
benchmark/data/tpch.ducklake
benchmark/data/tpch_files
key: tpch-sf1-v1
- name: Generate TPC-H SF1 data
if: steps.cache-tpch.outputs.cache-hit != 'true'
run: cargo run --release --package ducklake-benchmark --bin generate-tpch -- --scale-factor 1
- name: Run TPC-H Benchmark
run: |
cargo run --release --package ducklake-benchmark --bin ducklake-benchmark -- \
--catalog benchmark/data/tpch.ducklake \
--tpch \
--iterations 3
- name: Upload benchmark results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: benchmark-results
path: benchmark/results/