We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ed56a5 commit 9d7f089Copy full SHA for 9d7f089
sqlmesh/core/config/root.py
@@ -1,6 +1,8 @@
1
from __future__ import annotations
2
3
+import pickle
4
import typing as t
5
+import zlib
6
7
from pydantic import Field
8
@@ -20,7 +22,6 @@
20
22
from sqlmesh.core.notification_target import NotificationTarget
21
23
from sqlmesh.core.user import User
24
from sqlmesh.utils.errors import ConfigError
-from sqlmesh.utils.hashing import crc32
25
from sqlmesh.utils.pydantic import field_validator, model_validator
26
27
@@ -157,4 +158,4 @@ def dialect(self) -> t.Optional[str]:
157
158
159
@property
160
def fingerprint(self) -> str:
- return crc32(self.json(exclude={"loader"}))
161
+ return str(zlib.crc32(pickle.dumps(self.dict(exclude={"loader"}))))
0 commit comments