-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feast apply
broken with 0.15.* if the registry already exists
#2086
Comments
There was a fix shipped to better handle entityless feature views, but seems like we're having trouble reproducing this bug. Can you try again at HEAD and see if this still reproduces? |
hey @MattDelac, this issue looks like it might be related to #2038 and #2063 maybe try pip installing |
It was already installed |
I tried all versions of Always get the same error. Would today be a good time to pair on this issue ? |
So the problem is that I create a child class from the Feast FeatureView class. I do so in order to add Shopify specifics. Since The solution is to override this method class and explicitly return the one coming from the parent class (see code below) from feast.feature_view import FeatureView as FeastFeatureView
class FeatureView(FeastFeatureView):
def __init__(
self,
name: str,
entity: str,
owner: str,
features: List[Feature],
batch_source: CustomSource,
ttl: Optional[timedelta] = None,
):
super().__init__(
name=name,
entities=[entity],
features=features,
batch_source=batch_source,
ttl=ttl,
tags={...}
)
@classmethod
def from_proto(self, feature_view_proto):
return FeastFeatureView.from_proto(feature_view_proto) |
Expected Behavior
Running
feast apply
twice in a row should work as expectedCurrent Behavior
The second time we run
feast apply
, it will break with feast v0.15.*Steps to reproduce
feast apply
✅ if the registry does not existfeast apply
🔴From Slack > And interestingly, it does not always fail on the same FeatureView being applied > And I can successfully print feature_view_proto.spec.entities right before it fails
Specifications
Possible Solution
The text was updated successfully, but these errors were encountered: