Skip to content

Commit e02e461

Browse files
committed
Fix bug
Signed-off-by: Felix Wang <[email protected]>
1 parent fd896fb commit e02e461

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎sdk/python/feast/data_source.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,10 @@ def __init__(
273273
),
274274
DeprecationWarning,
275275
)
276-
if self.timestamp_field == self.created_timestamp_column:
276+
if (
277+
self.timestamp_field
278+
and self.timestamp_field == self.created_timestamp_column
279+
):
277280
raise ValueError(
278281
"Please do not use the same column for 'timestamp_field' and 'created_timestamp_column'."
279282
)

0 commit comments

Comments
 (0)