mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(deps): Upgrade sqlglot from 27.15.2 to 28.10.0 (#37841)
This commit is contained in:
committed by
GitHub
parent
ae8d671fea
commit
c41942a38a
@@ -144,6 +144,8 @@ class Pinot(MySQL):
|
||||
e.args.get("expression"),
|
||||
e.args.get("variant"),
|
||||
),
|
||||
# Preserve Pinot's YEAROFWEEK (sqlglot normalizes to YEAR_OF_WEEK)
|
||||
exp.YearOfWeek: lambda self, e: self.func("YEAROFWEEK", e.this),
|
||||
}
|
||||
# Remove DATE_TRUNC transformation - Pinot supports standard SQL DATE_TRUNC
|
||||
TRANSFORMS.pop(exp.DateTrunc, None)
|
||||
|
||||
Reference in New Issue
Block a user