From 1fa466501e1e47bb5620be752f7b07daea823720 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Tue, 12 Dec 2023 10:33:58 -0800 Subject: [PATCH] Fix clippy --- 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 3080acbfe88a..d52de58ebff1 100644 --- a/datafusion/expr/src/expr.rs +++ b/datafusion/expr/src/expr.rs @@ -1694,6 +1694,7 @@ fn create_names(exprs: &[Expr]) -> Result { /// 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 {