File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5076,7 +5076,7 @@ impl<'a> Parser<'a> {
5076
5076
self . expect_keyword ( Keyword :: SET ) ?;
5077
5077
let assignments = self . parse_comma_separated ( Parser :: parse_assignment) ?;
5078
5078
let from = if self . parse_keyword ( Keyword :: FROM )
5079
- && dialect_of ! ( self is PostgreSqlDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect )
5079
+ && dialect_of ! ( self is GenericDialect | PostgreSqlDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect )
5080
5080
{
5081
5081
Some ( self . parse_table_and_joins ( ) ?)
5082
5082
} else {
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ fn parse_update_set_from() {
191
191
let sql = "UPDATE t1 SET name = t2.name FROM (SELECT name, id FROM t1 GROUP BY id) AS t2 WHERE t1.id = t2.id" ;
192
192
let dialects = TestedDialects {
193
193
dialects : vec ! [
194
+ Box :: new( GenericDialect { } ) ,
194
195
Box :: new( PostgreSqlDialect { } ) ,
195
196
Box :: new( BigQueryDialect { } ) ,
196
197
Box :: new( RedshiftSqlDialect { } ) ,
You can’t perform that action at this time.
0 commit comments