Skip to content

Commit

Permalink
fix: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
crepererum committed Jan 13, 2023
1 parent c5ca9fa commit b2af7b0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions datafusion/core/src/physical_plan/repartition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ use super::{RecordBatchStream, SendableRecordBatchStream};
use crate::execution::context::TaskContext;
use datafusion_physical_expr::PhysicalExpr;
use futures::stream::Stream;
use futures::{Future, FutureExt, StreamExt};
use futures::{FutureExt, StreamExt};
use hashbrown::HashMap;
use parking_lot::Mutex;
use tokio::task::JoinHandle;
Expand Down Expand Up @@ -224,14 +224,6 @@ impl BatchPartitioner {
}
}

trait PartitiontFun {
type Fut<'a>: Future<Output = Result<()>>
where
Self: 'a;

fn c(&mut self, partition: usize, batch: RecordBatch) -> Self::Fut<'_>;
}

/// The repartition operator maps N input partitions to M output partitions based on a
/// partitioning scheme. No guarantees are made about the order of the resulting partitions.
#[derive(Debug)]
Expand Down

0 comments on commit b2af7b0

Please sign in to comment.