Apache DataFusion SQL Query Engine
fix: Fix clippy lints introduced in 1.54 (#794)
Andrew Lamb7dde5b13801d
diff --git a/ballista/rust/client/src/context.rs b/ballista/rust/client/src/context.rsindex 16a90b2e27..162cd68352 100644--- a/ballista/rust/client/src/context.rs+++ b/ballista/rust/client/src/context.rs@@ -133,7 +133,7 @@ impl BallistaContext {let mut ctx = create_datafusion_context(&guard.scheduler_host,guard.scheduler_port,- &guard.config(),+ guard.config(),);let df = ctx.read_parquet(path.to_str().unwrap())?;Ok(df)@@ -155,7 +155,7 @@ impl BallistaContext {let mut ctx = create_datafusion_context(&guard.scheduler_host,guard.scheduler_port,- &guard.config(),+ guard.config(),);let df = ctx.read_csv(path.to_str().unwrap(), options)?;Ok(df)diff --git a/ballista/rust/core/src/serde/physical_plan/mod.rs b/ballista/rust/core/src/serde/physical_plan/mod.rsindex f544859fa7..4bf013aabf 100644--- a/ballista/rust/core/src/serde/physical_plan/mod.rs+++ b/ballista/rust/core/src/serde/physical_plan/mod.rs@@ -105,7 +105,7 @@ mod roundtrip_tests {Arc::new(EmptyExec::new(false, schema_left.clone())),Arc::new(EmptyExec::new(false, schema_right.clone())),on.clone(),- &join_type,+ join_type,*partition_mode,)?))?;}diff --git a/ballista/rust/scheduler/src/state/mod.rs b/ballista/rust/scheduler/src/state/mod.rsindex 0bbab8cebf..865b44b6e8 100644--- a/ballista/rust/scheduler/src/state/mod.rs+++ b/ballista/rust/scheduler/src/state/mod.rs@@ -316,7 +316,7 @@ impl SchedulerState {)).unwrap();let task_is_dead = self- .reschedule_dead_task(&referenced_task, &executors)+ .reschedule_dead_task(referenced_task, &executors).await?;if task_is_dead {continue 'tasks;