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