Skip to content

Commit

Permalink
Update to track timely changes (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmcsherry authored Dec 18, 2024
1 parent 84cfc36 commit db1e8b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/trace/implementations/merge_batcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use std::collections::VecDeque;
use std::marker::PhantomData;

use timely::logging::WorkerIdentifier;
use timely::logging_core::Logger;
use timely::progress::frontier::AntichainRef;
use timely::progress::{frontier::Antichain, Timestamp};
Expand Down Expand Up @@ -32,7 +31,7 @@ where
/// Thing to accept data, merge chains, and talk to the builder.
merger: M,
/// Logger for size accounting.
logger: Option<Logger<DifferentialEvent, WorkerIdentifier>>,
logger: Option<Logger<DifferentialEvent>>,
/// Timely operator ID.
operator_id: usize,
/// Current lower frontier, we sealed up to here.
Expand All @@ -52,7 +51,7 @@ where
type Time = M::Time;
type Output = M::Chunk;

fn new(logger: Option<Logger<DifferentialEvent, WorkerIdentifier>>, operator_id: usize) -> Self {
fn new(logger: Option<Logger<DifferentialEvent>>, operator_id: usize) -> Self {
Self {
logger,
operator_id,
Expand Down
3 changes: 1 addition & 2 deletions src/trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ pub mod description;
pub mod implementations;
pub mod wrappers;

use timely::logging::WorkerIdentifier;
use timely::logging_core::Logger;
use timely::progress::{Antichain, frontier::AntichainRef};
use timely::progress::Timestamp;
Expand Down Expand Up @@ -310,7 +309,7 @@ pub trait Batcher {
/// Times at which batches are formed.
type Time: Timestamp;
/// Allocates a new empty batcher.
fn new(logger: Option<Logger<DifferentialEvent, WorkerIdentifier>>, operator_id: usize) -> Self;
fn new(logger: Option<Logger<DifferentialEvent>>, operator_id: usize) -> Self;
/// Adds an unordered container of elements to the batcher.
fn push_container(&mut self, batch: &mut Self::Input);
/// Returns all updates not greater or equal to an element of `upper`.
Expand Down

0 comments on commit db1e8b1

Please sign in to comment.