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 — Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource) · Issue #5942 · feast-dev/feast Closed Labels DescriptionExpected BehaviorFeatures materialized to online store successfully, with features persisted on the online store using Current BehaviorMaterialization fails before the offline store is queried: Steps to reproduceDefine a feature source as create view schema_name.test as ( select current_timestamp() as EVENT_TIMESTAMP, 1 as USERID, 0.75 as FEATURE_1, 300 as FEATURE_2 ); user = Entity(name="user", join_keys=["user_id"], value_type=ValueType.STRING) feature_source = SnowflakeSource( table="TEST", name="test_features", timestamp_field="EVENT_TIMESTAMP", database=dbname, schema=schema, field_mapping={ "USERID": "user_id", "FEATURE_1": "feature_1", "FEATURE_2": "feature_2", }, ) feature_view = FeatureView( name="test_feature_view", entities=[user], schema=[ Field(name="feature_1", dtype=types.Float32), Field(name="feature_2", dtype=types.Int32), ], online=True, source=feature_source, ) Specifications
Inconsistencies
Discussion
However I think its worth exploring. Having the renaming done at entity level means all tables in the offline store needs to use the same column name for that entity key. There might be cases where different teams refer to the same entity with different names, just because the business context is different. Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — 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. |