feast icon indicating copy to clipboard operation
feast copied to clipboard

register featureview with duplicated entities.

Open larcane97 opened this issue 2 years ago • 1 comments

i wanna register featureview bigquery table having the columns origin_h3, dest_h3. and the table's key is origin_h3, dest_h3. and also I already defined h3 entity.

and then i tried to register featureView like this and encountered error.

H3_RES7_ENTITY = Entity(
    name="H3_RES7",
    join_keys=["h3_resolution7"],
    description="Uber H3 Code Resolution 7"
)

FeatureView(
    name="test_fv",
    entities=[H3_RES7_ENTITY, H3_RES7_ENTITY],
    source=source
)

i don't wanna define entitiy "H3_RES7_ORG_DST_ENTITIY`. is there any good solution for that problem?

larcane97 avatar Jan 29 '24 10:01 larcane97

@larcane97 hi, do you mean that you want to define an entity with multiple join keys?

tokoko avatar Apr 04 '24 06:04 tokoko