Skip to content

Commit 89faa87

Browse files
committed
Fix: Pass the model dialect when computing a hash for the column types
1 parent 3ea0493 commit 89faa87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmesh/core/model/definition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def _data_hash_values(self) -> t.List[str]:
10511051

10521052
for column_name, column_type in (self.columns_to_types_ or {}).items():
10531053
data.append(column_name)
1054-
data.append(column_type.sql())
1054+
data.append(column_type.sql(dialect=self.dialect))
10551055

10561056
for key, value in (self.physical_properties or {}).items():
10571057
data.append(key)

0 commit comments

Comments
 (0)