Visitar URL original
feat: Add opt-in filter_by_created_timestamp cutoff to get_historical_features by addenergyx · Pull Request #6617 · feast-dev/feast · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: Tighten filter_by_created_timestamp docstring
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: David <david-adeniji@hotmail.co.uk>
  • Loading branch information
addenergyx and claude committed Jul 21, 2026
commit 6d237e5453477f541cada8614ce8da6c80ad31ce
12 changes: 5 additions & 7 deletions sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1914,13 +1914,11 @@ def get_historical_features(
Required when entity_df is not provided.
end_date (Optional[datetime]): End date for the timestamp range when retrieving features without entity_df.
Required when entity_df is not provided. By default, the current time is used.
filter_by_created_timestamp (bool): If True, only feature values that were already created as of each entity row's
event timestamp are considered: rows whose created timestamp (the ``created_timestamp_column`` of
the batch source) is later than the entity row's event timestamp are excluded. This makes retrieval
reflect what was known at the event time, so late-arriving or backfilled values cannot leak into
training data. Feature views without a ``created_timestamp_column`` are unaffected. Defaults to
False, which preserves the existing behavior of serving the latest known value for the event
timestamp window.
filter_by_created_timestamp (bool): If True, exclude feature values whose created timestamp
(the batch source's ``created_timestamp_column``) is later than the entity row's event
timestamp, so retrieval only reflects what was known at the event time and backfilled
values cannot leak into training data. Feature views without a
``created_timestamp_column`` are unaffected. Defaults to False.

Returns:
RetrievalJob which can be used to materialize the results.
Expand Down