Skip to content
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

feat: Adding range query request and response proto #181

Merged
merged 10 commits into from
Feb 28, 2025

Conversation

omirandadev
Copy link
Collaborator

What this PR does / why we need it:

This PR adds the protos for the new range query feature server endpoint's request and response. It is needed for the implementation of the new endpoint.

Which issue(s) this PR fixes:

Misc

ASC = 1;

// Sort results in reverse order as defined by the ordering within the feature store.
DESC = 2;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASC/DESC don't make sense in this context, they user could have defined multiple keys with differing default sort orders. This might be better as a "reverse sort order" boolean flag.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I added that boolean flag to the GetOnlineFeaturesRequest message.

@omirandadev omirandadev requested a review from piket February 27, 2025 21:09
@omirandadev omirandadev merged commit a2644da into master Feb 28, 2025
23 checks passed
@kpulipati29
Copy link

kpulipati29 commented Feb 28, 2025

Should we update the GrpcServer.Proto too here with GetOnlineFeaturesRange etc..? I know we are not supporting GRPC yet and I think Vineet is working on it, but when we enable it in the future, it will be supported for Range queries endpoint too and we don't have to come back to make changes again. Just a thought, but up to you.

@omirandadev
Copy link
Collaborator Author

Should we update the GrpcServer.Proto too here with GetOnlineFeaturesRange etc..? I know we are not supporting GRPC yet and I think Vineet is working on it, but when we enable it in the future, it will be supported for Range queries endpoint too and we don't have to come back to make changes again. Just a thought, but up to you.

This will be in another PR, the one for the actual go grpc server implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants