Skip to content

Commit

Permalink
Remove Any and trait upcasting from ScanOperator protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkzinzow committed Feb 24, 2024
1 parent 7fb7e37 commit 3ab8ff3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/daft-scan/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#![feature(if_let_guard)]
#![feature(let_chains)]
#![feature(trait_upcasting)]
use std::{
any::Any,
fmt::{Debug, Display},
hash::{Hash, Hasher},
sync::Arc,
Expand Down Expand Up @@ -538,7 +536,7 @@ impl Display for PartitionTransform {
}
}

pub trait ScanOperator: Send + Sync + Debug + Any {
pub trait ScanOperator: Send + Sync + Debug {
fn schema(&self) -> SchemaRef;
fn partitioning_keys(&self) -> &[PartitionField];

Expand Down

0 comments on commit 3ab8ff3

Please sign in to comment.