Skip to content

remove unused methods in SortExec #16457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions datafusion/physical-plan/src/sorts/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,11 +935,6 @@ impl SortExec {
}
}

pub fn with_filter(mut self, filter: Arc<DynamicFilterPhysicalExpr>) -> Self {
self.filter = Some(filter);
self
}

/// Input schema
pub fn input(&self) -> &Arc<dyn ExecutionPlan> {
&self.input
Expand All @@ -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<Arc<DynamicFilterPhysicalExpr>> {
self.filter.clone()
}

fn output_partitioning_helper(
input: &Arc<dyn ExecutionPlan>,
preserve_partitioning: bool,
Expand Down