Merge branch 'tursodatabase:main' into distance

This commit is contained in:
KaguraMilet
2025-07-10 19:15:08 +08:00
committed by GitHub
150 changed files with 18812 additions and 1832 deletions

View File

@@ -619,7 +619,8 @@ impl Func {
}
}
pub fn resolve_function(name: &str, arg_count: usize) -> Result<Self, LimboError> {
match name {
let normalized_name = crate::util::normalize_ident(name);
match normalized_name.as_str() {
"avg" => {
if arg_count != 1 {
crate::bail_parse_error!("wrong number of arguments to function {}()", name)