Skip to content

Commit 38c7705

Browse files
committed
chore: migrate to DF 49.0.0
1 parent 2f6e27e commit 38c7705

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

native/core/src/execution/planner.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,13 +2186,15 @@ impl PhysicalPlanner {
21862186
};
21872187

21882188
let window_frame = WindowFrame::new_bounds(units, lower_bound, upper_bound);
2189+
let lex_orderings = LexOrdering::new(sort_exprs.to_vec());
2190+
let sort_phy_exprs = lex_orderings.as_deref().unwrap_or(&[]);
21892191

21902192
datafusion::physical_plan::windows::create_window_expr(
21912193
&window_func,
21922194
window_func_name,
21932195
&window_args,
21942196
partition_by,
2195-
&LexOrdering::new(sort_exprs.to_vec()).unwrap(),
2197+
sort_phy_exprs,
21962198
window_frame.into(),
21972199
input_schema.as_ref(),
21982200
false, // TODO: Ignore nulls

0 commit comments

Comments
 (0)