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

@ -226,6 +226,16 @@ pub trait Dialect: Debug + Any {
fn supports_parenthesized_set_variables(&self) -> bool {
false
}
/// Returns true if the dialect supports an `EXCEPT` clause following a
/// wildcard in a select list.
///
/// For example
/// ```sql
/// SELECT * EXCEPT order_id FROM orders;
/// ```
fn supports_select_wildcard_except(&self) -> bool {
false
}
/// Returns true if the dialect has a CONVERT function which accepts a type first
/// and an expression second, e.g. `CONVERT(varchar, 1)`
fn convert_type_before_value(&self) -> bool {