-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: Export milvusclient.annRequest (issue: #41261) #41356
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
base: master
Are you sure you want to change the base?
Conversation
Welcome @mcamou! It looks like this is your first PR to milvus-io/milvus 🎉 |
@mcamou Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com./milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco. |
Invalid PR Title Format Detected Your PR submission does not adhere to our required standards. To ensure clarity and consistency, please meet the following criteria:
Required Title Structure:
Where Example:
Please review and update your PR to comply with these guidelines. |
`milvusclient.NewHybridSearchOption` receives a variadic `annRequests` parameter. However, since `milvusclient.annRequest` is private, there is no way to declare a slice, therefore there is no way to make it fully generic (as in, create a slice of `milvusclient.annRequest`s and pass them to `NewHybridSearchOption`. This PR renames `milvusclient.annRequest` to `milvusclient.AnnRequest` to export it. This is an API change since it's renaming a struct. However, since the struct was previously private no external code depends on it, unless it's doing nasty things with reflection (in which case it should not depend on the name). Signed-off-by: mcamou <[email protected]>
2170167
to
9671541
Compare
@mcamou Please associate the related issue to the body of your Pull Request. (eg. “issue: #”) |
@mcamou go-sdk check failed, comment |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project check has failed because the head coverage (72.62%) is below the target coverage (77.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #41356 +/- ##
===========================================
- Coverage 81.86% 72.62% -9.25%
===========================================
Files 1166 312 -854
Lines 181131 29015 -152116
===========================================
- Hits 148283 21072 -127211
+ Misses 26708 7943 -18765
+ Partials 6140 0 -6140
🚀 New features to boost your workflow:
|
@mcamou E2e jenkins job failed, comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, mcamou The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I don't know what could have happened to codecov, since this is a simple rename. Also, regarding the E2E test, I have no idea what might be failing. I've had to add Arch Linux support to
I've had to install the |
/run-cpu-e2e |
@mcamou E2e jenkins job failed, comment |
Issue: #41261.
milvusclient.NewHybridSearchOption
receives a variadicannRequests
parameter. However, sincemilvusclient.annRequest
is private, there is no way to declare a slice, therefore there is no way to make it fully generic (as in, create a slice ofmilvusclient.annRequest
s and pass them toNewHybridSearchOption
. This PR renamesmilvusclient.annRequest
tomilvusclient.AnnRequest
to export it.This is an API change since it's renaming a struct. However, since the struct was previously private no external code depends on it, unless it's doing nasty things with reflection (in which case it should not depend on the name).
Signed-off-by: Mario Camou [email protected]