mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Add support for $$ in generic dialect ... (#1185)
This commit is contained in:
parent
6b03a259aa
commit
4472789171
2 changed files with 3 additions and 2 deletions
|
@ -3305,7 +3305,7 @@ fn parse_create_function() {
|
|||
|
||||
let sql = "CREATE OR REPLACE FUNCTION add(a INTEGER, IN b INTEGER = 1) RETURNS INTEGER LANGUAGE SQL IMMUTABLE RETURN a + b";
|
||||
assert_eq!(
|
||||
pg().verified_stmt(sql),
|
||||
pg_and_generic().verified_stmt(sql),
|
||||
Statement::CreateFunction {
|
||||
or_replace: true,
|
||||
temporary: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue