queryer fixes

This commit is contained in:
2026-03-18 02:41:56 -04:00
parent 02e661d219
commit 330280ba48
5 changed files with 562 additions and 638 deletions

View File

@ -191,9 +191,9 @@ impl Expect {
}
Expr::Function(func) => {
if let sqlparser::ast::FunctionArguments::List(args) = &func.args {
if let Some(sqlparser::ast::FunctionArg::Unnamed(sqlparser::ast::FunctionArgExpr::Expr(
e,
))) = args.args.get(0)
if let Some(sqlparser::ast::FunctionArg::Unnamed(
sqlparser::ast::FunctionArgExpr::Expr(e),
)) = args.args.get(0)
{
Self::validate_expr(e, available_aliases, sql)?;
}