Skip to content

Commit

Permalink
Add more known varargs SQL functions
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Oct 18, 2023
1 parent 3dfb8fd commit cd2584a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyze.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::ast::{FunctionCall, SpecialDateFunctionCall, SqlProgram};

/// A `phf` set of functions that are known to take any number of arguments.
static KNOWN_VARARG_FUNCTIONS: phf::Set<&'static str> = phf::phf_set! {
"COALESCE", "CONCAT",
"COALESCE", "CONCAT", "GREATEST", "LEAST",
};

/// Count all the function calls in a [`SqlProgram`].
Expand Down

0 comments on commit cd2584a

Please sign in to comment.