From f6cbfff7c95193b51df61a11446ab21de33840b8 Mon Sep 17 00:00:00 2001 From: Peter Toth Date: Tue, 5 Nov 2024 14:18:55 +0100 Subject: [PATCH] Update datafusion/expr/src/expr.rs Co-authored-by: Andrew Lamb --- datafusion/expr/src/expr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/datafusion/expr/src/expr.rs b/datafusion/expr/src/expr.rs index 0818c2062ea3..025a48731d48 100644 --- a/datafusion/expr/src/expr.rs +++ b/datafusion/expr/src/expr.rs @@ -630,6 +630,7 @@ impl Sort { } } + /// Replaces the Sort expressions with `expr` pub fn with_expr(&self, expr: Expr) -> Self { Self { expr,