Skip to content

Commit

Permalink
fix: Fix clippy lints introduced in 1.54 (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Jul 29, 2021
1 parent a6baf88 commit 7dde5b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ballista/rust/client/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ballista/rust/core/src/serde/physical_plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)?))?;
}
Expand Down
2 changes: 1 addition & 1 deletion ballista/rust/scheduler/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7dde5b1

Please sign in to comment.