GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OnDemandFeatureView silently skips transformation if BatchSource defines column with same name · Issue #5534 · feast-dev/feast Open Labels DescriptionSummaryWhen an This behavior leads to silent inconsistencies in the offline path and contradicts the intent of using ODFVs for transformation logic. Current Behavior
Steps to Reproduce
features = [ "customer_stats:revenue", "revenue_plus_one:revenue_plus_one", # from ODFV ] # BatchSource has revenue_plus_one = None df = store.get_historical_features(entity_df=..., features=features).to_df() print(df["revenue_plus_one"]) # Contains None instead of expected transformed values Expected Behavior
Root CauseFeast uses the output column name as a selector. If the column exists in the This causes subtle and difficult-to-detect Training-Serving Skew, especially in pipelines where Proposed SolutionsTo avoid incorrect behavior when Feast skips On-Demand Feature View (ODFV) transformations due to existing columns in the batch source, I propose two possible solutions: 1. Marker Field to Track TransformationAdd an internal marker or metadata tag that indicates whether a feature value has already been transformed. This can be used to: Ensure the transformation is only skipped if it really already happened. In the simplest form, this marker just records if the transformation was ever applied. Longer-term, this could help build a full understanding of how each feature value was created. 2. Use the Compute Engine DAG to Manage Transformations ExplicitlyThe new DAG-based Compute Engine could explicitly control when and how each transformation is applied. Instead of relying on column names, the system would always run transformations defined in the DAG, unless they are marked as already applied (via the marker field above). Additional ContextThis issue is especially confusing because the Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |