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: [cherry-pick] Refine error message when search vector type not matched (#31725) #31766

Merged
merged 1 commit into from Apr 1, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #31725

Previously the error message only reports the case happened without field name and vector type.

This PR add field name and vector type information in the error messages.

…lvus-io#31725)

Previously the error message only reports the case happened without
field name and vector type.

This PR add field name and vector type information in the error
messages.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 lines. label Apr 1, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

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 dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Apr 1, 2024
congqixia added a commit to congqixia/milvus that referenced this pull request Apr 1, 2024
See also milvus-io#31766

This PR add param place holder type check with search vector field type.
This utility method also allows future float32, float16 and bfloat16
convertion.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.88%. Comparing base (bc4a9a1) to head (f1fabc6).
Report is 5 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #31766      +/-   ##
==========================================
+ Coverage   80.81%   80.88%   +0.07%     
==========================================
  Files         974      964      -10     
  Lines      138828   139186     +358     
==========================================
+ Hits       112193   112587     +394     
+ Misses      22873    22844      -29     
+ Partials     3762     3755       -7     
Files Coverage Δ
internal/core/src/query/Plan.cpp 55.73% <ø> (+1.05%) ⬆️

... and 222 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Apr 1, 2024
@weiliu1031
Copy link
Contributor

/lgtm

@sre-ci-robot sre-ci-robot merged commit 7523107 into milvus-io:2.4 Apr 1, 2024
13 of 14 checks passed
@congqixia congqixia deleted the cp24/31724 branch April 1, 2024 09:16
congqixia added a commit to congqixia/milvus that referenced this pull request Apr 2, 2024
See also milvus-io#31766

This PR add param place holder type check with search vector field type.
This utility method also allows future float32, float16 and bfloat16
convertion.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants