From 37987b2f7db1a59907d7202625bdbe05de7e85ca Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Thu, 19 Jun 2025 07:37:02 -0500 Subject: [PATCH] remove unused functions in SortExec --- datafusion/physical-plan/src/sorts/sort.rs | 10 ---------- 1 file changed, 10 deletions(-) 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,