mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 10:47:22 +00:00
Add test for clickhouse: tokenize ==
as Token::DoubleEq (#981)
This commit is contained in:
parent
e718ce6c42
commit
4903bd4b8b
4 changed files with 36 additions and 3 deletions
|
@ -6792,10 +6792,10 @@ fn parse_time_functions() {
|
|||
|
||||
// Validating Parenthesis
|
||||
let sql_without_parens = format!("SELECT {}", func_name);
|
||||
let mut ast_without_parens = select_localtime_func_call_ast.clone();
|
||||
let mut ast_without_parens = select_localtime_func_call_ast;
|
||||
ast_without_parens.special = true;
|
||||
assert_eq!(
|
||||
&Expr::Function(ast_without_parens.clone()),
|
||||
&Expr::Function(ast_without_parens),
|
||||
expr_from_projection(&verified_only_select(&sql_without_parens).projection[0])
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue