Skip to content

Commit

Permalink
Require sort expressions to be of type Sort in compare_sort_expr
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Aug 26, 2024
1 parent 945902d commit 1c2c041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/expr/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ pub fn compare_sort_expr(
}
Ordering::Equal
}
_ => Ordering::Equal,
_ => panic!("Sort expressions must be of type Sort"),
}
}

Expand Down

0 comments on commit 1c2c041

Please sign in to comment.