Skip to content

Commit

Permalink
Update datafusion/src/optimizer/utils.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist authored Jun 7, 2021
1 parent 794e82f commit 67c3ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/optimizer/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ pub fn rewrite_expression(expr: &Expr, expressions: &[Expr]) -> Result<Expr> {
args: expressions[..partition_index].to_vec(),
partition_by: expressions[partition_index + 1..sort_index].to_vec(),
order_by: expressions[sort_index + 1..].to_vec(),
window_frame: window_frame.clone(),
window_frame: *window_frame,
})
}
}
Expand Down

0 comments on commit 67c3ac8

Please sign in to comment.