mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-09 07:30:32 +00:00
parent
df738f9b10
commit
8fae601743
2 changed files with 2 additions and 1 deletions
|
@ -8066,7 +8066,7 @@ impl<'a> Parser<'a> {
|
|||
self.expect_keyword(Keyword::SET)?;
|
||||
let assignments = self.parse_comma_separated(Parser::parse_assignment)?;
|
||||
let from = if self.parse_keyword(Keyword::FROM)
|
||||
&& dialect_of!(self is GenericDialect | PostgreSqlDialect | DuckDbDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect)
|
||||
&& dialect_of!(self is GenericDialect | PostgreSqlDialect | DuckDbDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect | SQLiteDialect )
|
||||
{
|
||||
Some(self.parse_table_and_joins()?)
|
||||
} else {
|
||||
|
|
|
@ -324,6 +324,7 @@ fn parse_update_set_from() {
|
|||
Box::new(SnowflakeDialect {}),
|
||||
Box::new(RedshiftSqlDialect {}),
|
||||
Box::new(MsSqlDialect {}),
|
||||
Box::new(SQLiteDialect {}),
|
||||
],
|
||||
options: None,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue