mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-09 21:42:05 +00:00
Add CREATE FUNCTION
support for SQL Server (#1808)
This commit is contained in:
parent
945f8e0534
commit
2eb1e7bdd4
10 changed files with 313 additions and 50 deletions
|
@ -4104,6 +4104,7 @@ fn parse_create_function() {
|
|||
assert_eq!(
|
||||
pg_and_generic().verified_stmt(sql),
|
||||
Statement::CreateFunction(CreateFunction {
|
||||
or_alter: false,
|
||||
or_replace: false,
|
||||
temporary: false,
|
||||
name: ObjectName::from(vec![Ident::new("add")]),
|
||||
|
@ -5485,6 +5486,7 @@ fn parse_trigger_related_functions() {
|
|||
assert_eq!(
|
||||
create_function,
|
||||
Statement::CreateFunction(CreateFunction {
|
||||
or_alter: false,
|
||||
or_replace: false,
|
||||
temporary: false,
|
||||
if_not_exists: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue