Databricks: support SELECT * EXCEPT (#1261)

This commit is contained in:
Joey Hain 2024-05-13 02:49:00 -07:00 committed by GitHub
parent 49d178477e
commit 5ed13b5af3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 63 additions and 34 deletions

View file

@ -9704,8 +9704,7 @@ impl<'a> Parser<'a> {
} else {
None
};
let opt_except = if dialect_of!(self is GenericDialect | BigQueryDialect | ClickHouseDialect)
{
let opt_except = if self.dialect.supports_select_wildcard_except() {
self.parse_optional_select_item_except()?
} else {
None