Skip to content

Commit 917a6c5

Browse files
feat: add hash component
Signed-off-by: tanlocnguyen <tanlocnguyen296@gmail.com>
1 parent 6cba191 commit 917a6c5

File tree

1 file changed

+7
-1
lines changed
  • sdk/python/feast/infra/offline_stores/contrib/spark_offline_store

1 file changed

+7
-1
lines changed

sdk/python/feast/infra/offline_stores/contrib/spark_offline_store/spark_source.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,13 @@ def __eq__(self, other):
196196
)
197197

198198
def __hash__(self):
199-
return super().__hash__()
199+
return hash(
200+
self.name,
201+
self.timestamp_field,
202+
self.table,
203+
self.query,
204+
self.path
205+
)
200206

201207

202208
class SparkOptions:

0 commit comments

Comments
 (0)