Skip to content

Commit 53fbc29

Browse files
committed
chore: remove unused BoundPredicate::and method and unused import
1 parent f4f841e commit 53fbc29

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

crates/iceberg/src/delete_file_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::collections::HashMap;
22
use std::sync::Arc;
33

44
use futures::channel::mpsc;
5-
use futures::{StreamExt, TryFutureExt, TryStreamExt};
5+
use futures::{StreamExt, TryStreamExt};
66
use tokio::sync::watch;
77

88
use crate::scan::{DeleteFileContext, FileScanTaskDeleteFile};

crates/iceberg/src/expr/predicate.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,6 @@ pub enum BoundPredicate {
724724
Set(SetExpression<BoundReference>),
725725
}
726726

727-
impl BoundPredicate {
728-
pub(crate) fn and(self, other: BoundPredicate) -> BoundPredicate {
729-
BoundPredicate::And(LogicalExpression::new([Box::new(self), Box::new(other)]))
730-
}
731-
}
732-
733727
impl Display for BoundPredicate {
734728
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
735729
match self {

0 commit comments

Comments
 (0)