mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Add BigQuery dialect (#490)
This commit is contained in:
parent
484a7b6da4
commit
97a148aee4
5 changed files with 127 additions and 1 deletions
|
@ -38,6 +38,7 @@ $ cargo run --feature json_example --example cli FILENAME.sql [--dialectname]
|
|||
|
||||
let dialect: Box<dyn Dialect> = match std::env::args().nth(2).unwrap_or_default().as_ref() {
|
||||
"--ansi" => Box::new(AnsiDialect {}),
|
||||
"--bigquery" => Box::new(BigQueryDialect {}),
|
||||
"--postgres" => Box::new(PostgreSqlDialect {}),
|
||||
"--ms" => Box::new(MsSqlDialect {}),
|
||||
"--mysql" => Box::new(MySqlDialect {}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue