Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde committed Dec 10, 2024
1 parent 582c8e8 commit 0d4a739
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion crates/arroyo-operator/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use std::time::{Instant, SystemTime};
use tokio::sync::mpsc::error::SendError;
use tokio::sync::mpsc::{unbounded_channel, Receiver, Sender, UnboundedReceiver, UnboundedSender};
use tokio::sync::Notify;
use tracing::log::debug;
use tracing::{trace, warn};

pub type QueueItem = ArrowMessage;
Expand Down
4 changes: 2 additions & 2 deletions crates/arroyo-planner/src/extension/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ impl ArroyoExtension for SinkExtension {
OperatorName::ConnectorSink,
operator_config,
self.table.connector_op().unwrap().description.clone(),
1,
1,
);

let edges = input_schemas
.into_iter()
.map(|input_schema| {
Expand Down
4 changes: 1 addition & 3 deletions crates/arroyo-sql-testing/src/smoke_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ use tokio::sync::mpsc::{channel, Receiver};

use crate::udfs::get_udfs;
use arroyo_rpc::config;
use arroyo_rpc::grpc::rpc::{
CheckpointMetadata, StopMode, TaskCheckpointCompletedReq, TaskCheckpointEventReq,
};
use arroyo_rpc::grpc::rpc::{StopMode, TaskCheckpointCompletedReq, TaskCheckpointEventReq};
use arroyo_rpc::{CompactionResult, ControlMessage, ControlResp};
use arroyo_state::checkpoint_state::CheckpointState;
use arroyo_types::{to_micros, CheckpointBarrier};
Expand Down
6 changes: 3 additions & 3 deletions crates/arroyo-worker/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use bincode::{Decode, Encode};
use futures::stream::FuturesUnordered;
use futures::StreamExt;
use petgraph::graph::{DiGraph, NodeIndex};
use petgraph::visit::{EdgeRef, IntoEdgesDirected, NodeRef};
use petgraph::visit::EdgeRef;
use petgraph::{dot, Direction};
use std::collections::{BTreeMap, HashMap};
use std::fmt::{Debug, Formatter};
Expand Down Expand Up @@ -224,7 +224,7 @@ impl Program {
let checkpoint_metadata = if let Some(epoch) = restore_epoch {
info!("Restoring checkpoint {} for job {}", epoch, job_id);
Some(
StateBackend::load_checkpoint_metadata(&job_id, epoch)
StateBackend::load_checkpoint_metadata(job_id, epoch)
.await
.unwrap_or_else(|_| {
panic!("failed to load checkpoint metadata for epoch {}", epoch)
Expand Down Expand Up @@ -532,7 +532,7 @@ impl Engine {

for idx in node_indexes {
futures.push(self.schedule_node(
&self.program.control_tx.as_ref().unwrap(),
self.program.control_tx.as_ref().unwrap(),
idx,
ready.clone(),
));
Expand Down
1 change: 0 additions & 1 deletion crates/arroyo-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ use arroyo_df::physical::new_registry;
use arroyo_rpc::config::config;
use arroyo_server_common::shutdown::ShutdownGuard;
use arroyo_server_common::wrap_start;
use arroyo_state::{BackingStore, StateBackend};

pub mod arrow;

Expand Down

0 comments on commit 0d4a739

Please sign in to comment.