Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Dec 12, 2023
1 parent 303d303 commit 1fa4665
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 @@ -1694,6 +1694,7 @@ fn create_names(exprs: &[Expr]) -> Result<String> {

/// Whether the given expression is volatile, i.e. whether it can return different results
/// when evaluated multiple times with the same input.
#[allow(clippy::match_like_matches_macro)]
pub fn is_volatile(expr: &Expr) -> bool {
match expr {
Expr::ScalarFunction(func) => match func.func_def {
Expand Down

0 comments on commit 1fa4665

Please sign in to comment.