Skip to content

Commit 42edd22

Browse files
authored
Chore!: bump sqlglot to v20.6.0 (#1926)
* Chore!: bump sqlglot to v20.6.0 * Fix mypy issue
1 parent 44d7697 commit 42edd22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"requests",
4848
"rich[jupyter]",
4949
"ruamel.yaml",
50-
"sqlglot[rs]~=20.3.0",
50+
"sqlglot[rs]~=20.6.0",
5151
],
5252
extras_require={
5353
"bigquery": [

sqlmesh/core/macros.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def eval_(evaluator: MacroEvaluator, condition: exp.Condition) -> t.Any:
709709
def star(
710710
evaluator: MacroEvaluator,
711711
relation: exp.Table,
712-
alias: exp.Column = exp.column(""),
712+
alias: exp.Column = t.cast(exp.Column, exp.column("")),
713713
except_: exp.Array | exp.Tuple = exp.Tuple(this=[]),
714714
prefix: exp.Literal = exp.Literal.string(""),
715715
suffix: exp.Literal = exp.Literal.string(""),

0 commit comments

Comments
 (0)