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
{{ message }}
Repository navigation
feast apply broken with 0.15.* if the registry already exists #2086
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
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 feast==0.15.0, the cls argument passed to the classmethod from_proto() was the child class instead of the parent class. Thus, the from_proto() method was broken when it was trying to create a new FeatureView object.
The solution is to override this method class and explicitly return the one coming from the parent class (see code below)
Activity
adchia commentedon Nov 24, 2021
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?
MattDelac commentedon Nov 25, 2021
I get another issue that does not seem relevant to this ticket

Was using the following commit
54d0f3a1842c7613aaffcd67512e08ab9b688740"feast[gcp] @ git+https://github.com/feast-dev/feast.git@54d0f3a1842c7613aaffcd67512e08ab9b688740#subdirectory=sdk/python&egg=feast",felixwang9817 commentedon Nov 25, 2021
hey @MattDelac, this issue looks like it might be related to #2038 and #2063
maybe try pip installing
tensorflow-metadataand trying again?MattDelac commentedon Nov 29, 2021
It was already installed
tensorflow-metadata==1.4.0, so it did not change anythingMattDelac commentedon Dec 1, 2021
I tried all versions of
tensorflow-metadatafrom 1.2.0 to 1.5.0Always get the same error. Would today be a good time to pair on this issue ?
MattDelac commentedon Dec 2, 2021
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
feast==0.15.0, theclsargument passed to the classmethodfrom_proto()was the child class instead of the parent class. Thus, thefrom_proto()method was broken when it was trying to create a new FeatureView object.The solution is to override this method class and explicitly return the one coming from the parent class (see code below)