Skip to content

Commit

Permalink
Update datafusion/expr/src/expr.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
peter-toth and alamb authored Nov 5, 2024
1 parent 47df15a commit f6cbfff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/expr/src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ impl Sort {
}
}

/// Replaces the Sort expressions with `expr`
pub fn with_expr(&self, expr: Expr) -> Self {
Self {
expr,
Expand Down

0 comments on commit f6cbfff

Please sign in to comment.