mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Allow empty options for BigQuery (#1657)
Co-authored-by: Martin Abelson Sahlen <sahlen@Mac.lan>
This commit is contained in:
parent
36db176657
commit
9105cae261
2 changed files with 7 additions and 1 deletions
|
@ -473,6 +473,12 @@ fn parse_create_table_with_options() {
|
|||
r#"description = "table option description")"#
|
||||
);
|
||||
bigquery().verified_stmt(sql);
|
||||
|
||||
let sql = "CREATE TABLE foo (x INT64) OPTIONS()";
|
||||
bigquery().verified_stmt(sql);
|
||||
|
||||
let sql = "CREATE TABLE db.schema.test (x INT64 OPTIONS(description = 'An optional INTEGER field')) OPTIONS()";
|
||||
bigquery().verified_stmt(sql);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue