We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contactedHave 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
| Expand Up | @@ -32,9 +32,13 @@ service RegistryServer{ | |
|
|
||
| // FeatureView RPCs | ||
| rpc ApplyFeatureView (ApplyFeatureViewRequest) returns (google.protobuf.Empty) {} | ||
| rpc DeleteFeatureView (DeleteFeatureViewRequest) returns (google.protobuf.Empty) {} | ||
| rpc GetAnyFeatureView (GetAnyFeatureViewRequest) returns (GetAnyFeatureViewResponse) {} | ||
| rpc ListAllFeatureViews (ListAllFeatureViewsRequest) returns (ListAllFeatureViewsResponse) {} | ||
|
|
||
| // plain FeatureView RPCs | ||
| rpc GetFeatureView (GetFeatureViewRequest) returns (feast.core.FeatureView) {} | ||
| rpc ListFeatureViews (ListFeatureViewsRequest) returns (ListFeatureViewsResponse) {} | ||
| rpc DeleteFeatureView (DeleteFeatureViewRequest) returns (google.protobuf.Empty) {} | ||
|
|
||
| // StreamFeatureView RPCs | ||
| rpc GetStreamFeatureView (GetStreamFeatureViewRequest) returns (feast.core.StreamFeatureView) {} | ||
| Expand Down Expand Up | @@ -208,6 +212,35 @@ message DeleteFeatureViewRequest { | |
| bool commit = 3; | ||
| } | ||
|
|
||
| message AnyFeatureView { | ||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentwhy AnyFeatureView and not AllFeatureViews?
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentHmm, this is a single message though so I see.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentWhy wouldn't we call it FeatureViewType?
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentI feel like type is something else, it would refer to one the types, not one of the objects. AnyFeatureView basically stands for AnyTypeOfFeatureView.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentOh I see what you're doing this for. Man this is ugly. The get_any_feature_view should probably be an intermediate solution and instead we should find a way to make get_feature_view include ODFV and Stream FVs.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentI get why we can't jump right to that, but maybe we should start a doc on what should be reconciled for release to Feast 1.0?
Sorry, something went wrong.
All reactions
|
||
| oneof any_feature_view { | ||
| feast.core.FeatureView feature_view = 1; | ||
| feast.core.OnDemandFeatureView on_demand_feature_view = 2; | ||
| feast.core.StreamFeatureView stream_feature_view = 3; | ||
| } | ||
| } | ||
|
|
||
| message GetAnyFeatureViewRequest { | ||
| string name = 1; | ||
| string project = 2; | ||
| bool allow_cache = 3; | ||
| } | ||
|
|
||
| message GetAnyFeatureViewResponse { | ||
| AnyFeatureView any_feature_view = 1; | ||
| } | ||
|
|
||
| message ListAllFeatureViewsRequest { | ||
| string project = 1; | ||
| bool allow_cache = 2; | ||
| map<string,string> tags = 3; | ||
| } | ||
|
|
||
| message ListAllFeatureViewsResponse { | ||
| repeated AnyFeatureView feature_views = 1; | ||
| } | ||
|
|
||
|
|
||
| // StreamFeatureView | ||
|
|
||
| message GetStreamFeatureViewRequest { | ||
| Expand Down | ||
| Expand Up | @@ -585,7 +585,26 @@ def apply_materialization( | |
| self.commit() | ||
| return | ||
|
|
||
| raise FeatureViewNotFoundException(feature_view.name, project) | ||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide commentDid you mean to drop this from apply_materialization?
Sorry, something went wrong.
All reactions
|
||
| def list_all_feature_views( | ||
| self, | ||
| project: str, | ||
| allow_cache: bool = False, | ||
| tags: Optional[dict[str, str]] = None, | ||
| ) -> List[BaseFeatureView]: | ||
| registry_proto = self._get_registry_proto( | ||
| project=project, allow_cache=allow_cache | ||
| ) | ||
| return proto_registry_utils.list_all_feature_views( | ||
| registry_proto, project, tags | ||
| ) | ||
|
|
||
| def get_any_feature_view( | ||
| self, name: str, project: str, allow_cache: bool = False | ||
| ) -> BaseFeatureView: | ||
| registry_proto = self._get_registry_proto( | ||
| project=project, allow_cache=allow_cache | ||
| ) | ||
| return proto_registry_utils.get_any_feature_view(registry_proto, name, project) | ||
|
|
||
| def list_feature_views( | ||
| self, | ||
| Expand Down | ||
Uh oh!
There was an error while loading. Please reload this page.