feast-dev / feast

The Open Source Feature Store for Machine Learning
https://feast.dev
Apache License 2.0
5.46k stars 977 forks source link

register featureview with duplicated entities. #3913

Open larcane97 opened 7 months ago

larcane97 commented 7 months ago

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?

tokoko commented 5 months ago

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