Skip to content

Commit

Permalink
Chore!: bump sqlglot to v25.34.0 (#3482)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas authored Dec 9, 2024
1 parent 5fede98 commit 2a9871a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"rich[jupyter]",
"ruamel.yaml",
"setuptools; python_version>='3.12'",
"sqlglot[rs]~=25.32.1",
"sqlglot[rs]~=25.34.0",
"tenacity",
],
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion sqlmesh/core/engine_adapter/spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def _sqlglot_to_spark_primitive_mapping(self) -> t.Dict[t.Any, t.Any]:
exp.DataType.Type.DATE: spark_types.DateType,
exp.DataType.Type.DATETIME: spark_types.TimestampNTZType,
exp.DataType.Type.TIMESTAMPLTZ: spark_types.TimestampType,
exp.DataType.Type.TIMESTAMPTZ: spark_types.TimestampType,
exp.DataType.Type.TIMESTAMP: spark_types.TimestampType,
exp.DataType.Type.TIMESTAMPTZ: spark_types.TimestampType,
}

@classproperty
Expand Down

0 comments on commit 2a9871a

Please sign in to comment.