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

Parse result field data when result set entry count is not zero #624

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

congqixia
Copy link
Contributor

Since empty field data has no info for field name nor field type
it's more meaningful to skip parse field data for empty resultSet

This PR adds ResultCount check before performing fieldData parsing
When resultSet is empty, the entry shall have no error with empty fields
See also #623

Since empty field data has no info for fieldName nor field type
it's more meaningful to skip parse field data for empty resultSet

This PR adds ResultCount check before performing fieldData parsing
When resultSet is empty, the entry shall have no error with empty fields
See also milvus-io#623

Signed-off-by: Congqi Xia <[email protected]>
@sre-ci-robot sre-ci-robot requested review from sunby and yah01 November 9, 2023 17:44
@sre-ci-robot
Copy link

[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

@sre-ci-robot sre-ci-robot added the approved review approved label Nov 9, 2023
@congqixia
Copy link
Contributor Author

/kind bug

@sre-ci-robot sre-ci-robot added kind/bug Something isn't working size/S Denotes a PR that changes 10-29 lines. labels Nov 9, 2023
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #624 (a74c209) into master (415f277) will increase coverage by 0.00%.
The diff coverage is 57.14%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #624   +/-   ##
=======================================
  Coverage   74.60%   74.60%           
=======================================
  Files          42       42           
  Lines        4063     4064    +1     
=======================================
+ Hits         3031     3032    +1     
  Misses        920      920           
  Partials      112      112           
Files Coverage Δ
client/data.go 70.55% <57.14%> (+0.08%) ⬆️

@mergify mergify bot added the ci-passed auto merge needed label label Nov 9, 2023
Copy link
Member

@yah01 yah01 left a comment

Choose a reason for hiding this comment

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

/lgtm

@sre-ci-robot sre-ci-robot added the lgtm look good to me label Nov 10, 2023
@sre-ci-robot sre-ci-robot merged commit c7e62d0 into milvus-io:master Nov 10, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved review approved ci-passed auto merge needed label kind/bug Something isn't working lgtm look good to me size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants