Skip to content

Commit

Permalink
Fix bug in event timestamp removal in local mode (#1441)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
  • Loading branch information
jklegar committed Apr 8, 2021
1 parent f20ccfa commit 2815c66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/python/feast/infra/local_sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,10 @@ def evaluate_historical_retrieval():
)

# Remove right (feature table/view) event_timestamp column.
entity_df_with_features.drop(
columns=[event_timestamp_column], inplace=True
)
if event_timestamp_column != ENTITY_DF_EVENT_TIMESTAMP_COL:
entity_df_with_features.drop(
columns=[event_timestamp_column], inplace=True
)

# Ensure that we delete dataframes to free up memory
del df_to_join
Expand Down

0 comments on commit 2815c66

Please sign in to comment.