Skip to content

Commit e763647

Browse files
committed
Try fix some stuff?
Signed-off-by: Adam Gutglick <[email protected]>
1 parent 1918b7a commit e763647

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.github/workflows/sql-benchmarks.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,17 @@ on:
7373
"id": "fineweb",
7474
"subcommand": "fineweb",
7575
"name": "FineWeb NVMe",
76-
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact"
76+
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact",
77+
"scale_factor": "100"
7778
},
7879
{
7980
"id": "fineweb-s3",
8081
"subcommand": "fineweb",
8182
"name": "FineWeb S3",
8283
"local_dir": "vortex-bench/data/fineweb",
8384
"remote_storage": "s3://vortex-bench-dev-eu/${{github.ref_name}}/${{github.run_id}}/fineweb/",
84-
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact"
85+
"targets": "datafusion:parquet,datafusion:vortex,datafusion:vortex-compact,duckdb:parquet,duckdb:vortex,duckdb:vortex-compact",
86+
""scale_factor": "100"
8587
},
8688
]
8789
@@ -260,7 +262,6 @@ jobs:
260262
# Run df-bench with remote storage
261263
if [ -n "$df_formats" ]; then
262264
target/release_debug/df-bench ${{ matrix.subcommand }} \
263-
--use-remote-data-dir ${{ matrix.remote_storage }} \
264265
-d gh-json \
265266
--formats "$df_formats" \
266267
$opts \

benchmarks/df-bench/src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ struct Args {
7575
#[arg(long, default_value_t = false)]
7676
hide_progress_bar: bool,
7777

78-
#[arg(long)]
79-
use_remote_data_dir: Option<String>,
80-
8178
#[arg(long, default_value_t = false)]
8279
emit_plan: bool,
8380

@@ -121,7 +118,7 @@ async fn main() -> anyhow::Result<()> {
121118
.to_file_path()
122119
.map_err(|_| anyhow::anyhow!("Invalid file URL: {}", benchmark.data_url()))?;
123120

124-
for format in args.formats.iter().copied() {
121+
for format in args.formats.iter() {
125122
match format {
126123
Format::OnDiskVortex => {
127124
convert_parquet_to_vortex(&base_path, CompactionStrategy::Default).await?;

vortex-bench/src/runner.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ impl SqlBenchmarkRunner {
332332

333333
for (query_idx, query) in queries.iter() {
334334
let query_idx = *query_idx;
335+
tracing::debug!(%format, query_idx, "Running query");
335336
self.run_query(query_idx, format, iterations, || {
336337
let (row_count, timing) = execute(&mut ctx, query_idx, query.as_str())
337338
.unwrap_or_else(|err| {
@@ -384,6 +385,8 @@ impl SqlBenchmarkRunner {
384385
let mut runs = Vec::with_capacity(iterations);
385386
let mut result = None;
386387

388+
tracing::debug!(%format, query_idx, "Running query");
389+
387390
for _ in 0..iterations {
388391
let start = Instant::now();
389392
let (row_count, timing, iter_result) = execute(&ctx, query_idx, query.as_str())

vortex-bench/src/tpch/benchmark.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::tpch::EXPECTED_ROW_COUNTS_SF10;
1818
use crate::tpch::schema::CUSTOMER;
1919
use crate::tpch::schema::LINEITEM;
2020
use crate::tpch::schema::NATION;
21-
use crate::tpch::schema::ORDER;
21+
use crate::tpch::schema::ORDERS;
2222
use crate::tpch::schema::PART;
2323
use crate::tpch::schema::PARTSUPP;
2424
use crate::tpch::schema::REGION;
@@ -131,7 +131,7 @@ impl Benchmark for TpcHBenchmark {
131131
TableSpec::new("customer", Some(CUSTOMER.clone())),
132132
TableSpec::new("lineitem", Some(LINEITEM.clone())),
133133
TableSpec::new("nation", Some(NATION.clone())),
134-
TableSpec::new("orders", Some(ORDER.clone())),
134+
TableSpec::new("orders", Some(ORDERS.clone())),
135135
TableSpec::new("part", Some(PART.clone())),
136136
TableSpec::new("partsupp", Some(PARTSUPP.clone())),
137137
TableSpec::new("region", Some(REGION.clone())),

vortex-bench/src/tpch/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub static CUSTOMER: LazyLock<Schema> = LazyLock::new(|| {
8282
])
8383
});
8484

85-
pub static ORDER: LazyLock<Schema> = LazyLock::new(|| {
85+
pub static ORDERS: LazyLock<Schema> = LazyLock::new(|| {
8686
Schema::new(vec![
8787
Field::new("o_orderkey", DataType::Int64, false),
8888
Field::new("o_custkey", DataType::Int64, false),

0 commit comments

Comments
 (0)