mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Encapsulate CreateFunction (#1573)
This commit is contained in:
parent
bd750dfada
commit
e16b24679a
6 changed files with 149 additions and 148 deletions
|
@ -2011,7 +2011,7 @@ fn test_bigquery_create_function() {
|
|||
let stmt = bigquery().verified_stmt(sql);
|
||||
assert_eq!(
|
||||
stmt,
|
||||
Statement::CreateFunction {
|
||||
Statement::CreateFunction(CreateFunction {
|
||||
or_replace: true,
|
||||
temporary: true,
|
||||
if_not_exists: false,
|
||||
|
@ -2036,7 +2036,7 @@ fn test_bigquery_create_function() {
|
|||
remote_connection: None,
|
||||
called_on_null: None,
|
||||
parallel: None,
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
let sqls = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue