From 2a9871a07602c16dc2ec1f30ccec975a7f7d4c08 Mon Sep 17 00:00:00 2001 From: Jo <46752250+georgesittas@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:51:19 +0200 Subject: [PATCH] Chore!: bump sqlglot to v25.34.0 (#3482) --- setup.py | 2 +- sqlmesh/core/engine_adapter/spark.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8cede67c2..c7a53dc64 100644 --- a/setup.py +++ b/setup.py @@ -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={ diff --git a/sqlmesh/core/engine_adapter/spark.py b/sqlmesh/core/engine_adapter/spark.py index f6b5a0caf..a6aa04684 100644 --- a/sqlmesh/core/engine_adapter/spark.py +++ b/sqlmesh/core/engine_adapter/spark.py @@ -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