Support group by cube/rollup etc in BigQuery (#1720)

This commit is contained in:
Emil 2025-02-11 16:22:50 +01:00 committed by GitHub
parent 322209a9f3
commit 3e94877f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,11 @@ impl Dialect for BigQueryDialect {
true
}
// See <https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#group_by_clause>
fn supports_group_by_expr(&self) -> bool {
true
}
fn is_column_alias(&self, kw: &Keyword, _parser: &mut Parser) -> bool {
!RESERVED_FOR_COLUMN_ALIAS.contains(kw)
}