chore(deps): Upgrade sqlglot from 27.15.2 to 28.10.0 (#37841)

This commit is contained in:
Michael S. Molina
2026-02-10 13:13:11 -03:00
committed by GitHub
parent ae8d671fea
commit c41942a38a
7 changed files with 28 additions and 9 deletions

View File

@@ -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)