diff --git a/datafusion/physical-plan/src/sorts/sort.rs b/datafusion/physical-plan/src/sorts/sort.rs index 0aa284297b22..85c39820d53e 100644 --- a/datafusion/physical-plan/src/sorts/sort.rs +++ b/datafusion/physical-plan/src/sorts/sort.rs @@ -935,11 +935,6 @@ impl SortExec { } } - pub fn with_filter(mut self, filter: Arc) -> Self { - self.filter = Some(filter); - self - } - /// Input schema pub fn input(&self) -> &Arc { &self.input @@ -955,11 +950,6 @@ impl SortExec { self.fetch } - /// If `Some(filter)`, returns the filter expression that matches the state of the sort. - pub fn filter(&self) -> Option> { - self.filter.clone() - } - fn output_partitioning_helper( input: &Arc, preserve_partitioning: bool,