You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently specifying a value_type for an entity is optional. value types are instead inferred during an online call with a this function that basically goes through all the feature views and checks actual data types where a specific entity is used. This is obviously not very performant.
The possible reason for this design is to allow the same entity to have different types in different feature views (although now this is not allowed anyway). I think even that goal is a bit dubious, making joins across values with different data types could lead to many corner cases and bugs. I think we should instead make it mandatory to specify a value type when the user applies an entity and also make sure that data types align when actual feature views reference entities.
This will obviously be a breaking change, but I think the one that can be rectified easily. Maybe we can add DeprecationWarning in the next release saying that entities must have a type and make it mandatory in the release after that.
The text was updated successfully, but these errors were encountered:
Currently specifying a value_type for an entity is optional. value types are instead inferred during an online call with a this function that basically goes through all the feature views and checks actual data types where a specific entity is used. This is obviously not very performant.
The possible reason for this design is to allow the same entity to have different types in different feature views (although now this is not allowed anyway). I think even that goal is a bit dubious, making joins across values with different data types could lead to many corner cases and bugs. I think we should instead make it mandatory to specify a value type when the user applies an entity and also make sure that data types align when actual feature views reference entities.
This will obviously be a breaking change, but I think the one that can be rectified easily. Maybe we can add DeprecationWarning in the next release saying that entities must have a type and make it mandatory in the release after that.
The text was updated successfully, but these errors were encountered: