Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ballista/executor/src/flight_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ where
if let SendError(Err(err)) = err {
err
} else {
FlightError::Tonic(Status::internal(
"Can't send a batch, something went wrong",
))
FlightError::Tonic(Status::internal(format!(
"Can't send a batch, something went wrong: {err:?}"
)))
}
})?
}
Expand Down
9 changes: 8 additions & 1 deletion benchmarks/src/bin/tpch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,19 @@ async fn benchmark_ballista(opt: BallistaBenchmarkOpt) -> Result<()> {
println!("Running benchmarks with the following options: {opt:?}");
let mut benchmark_run = BenchmarkRun::new(opt.query);

let config = SessionConfig::new_with_ballista()
let mut config = SessionConfig::new_with_ballista()
.with_target_partitions(opt.partitions)
.with_ballista_job_name(&format!("Query derived from TPC-H q{}", opt.query))
.with_batch_size(opt.batch_size)
.with_collect_statistics(true);

// workaround for https://github.com/apache/datafusion-ballista/issues/1182
config
.options_mut()
.execution
.parquet
.schema_force_view_types = false;

let state = SessionStateBuilder::new()
.with_default_features()
.with_config(config)
Expand Down
Loading