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

enhance: Handle Float16Vector/BFloat16Vector numpy bulk insert as same as BinaryVector #33760

Merged

Conversation

cydrain
Copy link
Contributor

@cydrain cydrain commented Jun 11, 2024

Issue: #22837

@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 lines. label Jun 11, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jun 11, 2024
@yhmo
Copy link
Contributor

yhmo commented Jun 11, 2024

/lgtm

@cydrain cydrain force-pushed the caiyd_update_numpy_bulk_insert branch from 3d61477 to 0f62478 Compare June 12, 2024 03:39
@sre-ci-robot sre-ci-robot added area/test sig/testing test/integration integration test size/M Denotes a PR that changes 30-99 lines. and removed lgtm size/XS Denotes a PR that changes 0-9 lines. labels Jun 12, 2024
@cydrain cydrain force-pushed the caiyd_update_numpy_bulk_insert branch from 0f62478 to e575c2f Compare June 12, 2024 03:46
Copy link
Contributor

mergify bot commented Jun 12, 2024

@cydrain ut workflow job failed, comment rerun ut can trigger the job again.

…e as BinaryVector

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
@cydrain cydrain force-pushed the caiyd_update_numpy_bulk_insert branch from e575c2f to d4681f2 Compare June 12, 2024 06:23
@@ -199,6 +199,7 @@ func (s *BulkInsertSuite) run() {
searchResult, err := c.Proxy.Search(ctx, searchReq)
s.NoError(err)
s.Equal(commonpb.ErrorCode_Success, searchResult.GetStatus().GetErrorCode())
// s.Equal(nq*topk, len(searchResult.GetResults().GetScores()))
Copy link
Contributor

Choose a reason for hiding this comment

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

uncomment?

@bigsheeper
Copy link
Contributor

/lgtm

Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.89%. Comparing base (f7af323) to head (d4681f2).
Report is 9 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33760      +/-   ##
==========================================
- Coverage   80.94%   80.89%   -0.05%     
==========================================
  Files        1058     1058              
  Lines      135119   135166      +47     
==========================================
- Hits       109377   109348      -29     
- Misses      21555    21629      +74     
- Partials     4187     4189       +2     
Files Coverage Δ
internal/util/importutilv2/numpy/field_reader.go 61.05% <100.00%> (+0.02%) ⬆️
tests/integration/util_query.go 84.14% <100.00%> (+1.79%) ⬆️

... and 34 files with indirect coverage changes

@congqixia
Copy link
Contributor

/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, cydrain

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added the ci-passed label Jun 12, 2024
@sre-ci-robot sre-ci-robot merged commit 9d4535c into milvus-io:master Jun 12, 2024
15 checks passed
@cydrain cydrain deleted the caiyd_update_numpy_bulk_insert branch June 12, 2024 09:18
cydrain added a commit to cydrain/milvus that referenced this pull request Jun 12, 2024
…e as BinaryVector (milvus-io#33760)

Issue: milvus-io#22837

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Jun 13, 2024
…e as BinaryVector (#33760) (#33788)

pr: #33760
Issue: #22837

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
yellow-shine pushed a commit to yellow-shine/milvus that referenced this pull request Jul 2, 2024
…e as BinaryVector (milvus-io#33760)

Issue: milvus-io#22837

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/test ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm sig/testing size/M Denotes a PR that changes 30-99 lines. test/integration integration test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants