FeatureStore.materialize_incremental()
does not initially materialize data for FeatureView
with ttl=0
#2651
Labels
Expected Behavior
When executing
FeatureStore.materialize_incremental()
on aFeatureView
that has attl=0
and has never yet been materialized, I would expect all historical data to be materialized since attl=0
indicates that features live forever according to the docs.For an instance of
FeatureView
that has not explicitly definedttl
, it currently defaults totimedelta(days=0)
, which hints that this is indeed an expected value forttl
.Current Behavior
Currently, the
start_date
for the materialization defaults todatetime.utcnow() - ttl
if the feature view has not yet been materialized (i.e.FeatureView.most_recent_end_time is None
). This means thatstart_date = datetime.utcnow() - 0s
, thusstart_date = datetime.utcnow()
, resulting in no data being materialized.feast/sdk/python/feast/feature_store.py
Steps to reproduce
Specifications
Possible Solution
feast/sdk/python/feast/feature_store.py
The text was updated successfully, but these errors were encountered: