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: Support $meta key for json import (#32013) #32121

Merged
merged 1 commit into from Apr 11, 2024

Conversation

bigsheeper
Copy link
Contributor

During JSON import:

  1. Allow the specification of the $meta key
  2. Prohibit duplicated keys within the $meta field, for instance, {"id": 1, "vector": [], "x": 6, "$meta": {"x": 8}}

issue: #31835

pr: #32013

During JSON import:
1. Allow the specification of the $meta key
2. Prohibit duplicated keys within the $meta field, for instance,
`{"id": 1, "vector": [], "x": 6, "$meta": {"x": 8}}`

issue: milvus-io#31835

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Apr 10, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Apr 10, 2024
Copy link

codecov bot commented Apr 10, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.46%. Comparing base (c85cd01) to head (5102277).
Report is 11 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #32121      +/-   ##
==========================================
+ Coverage   81.42%   81.46%   +0.03%     
==========================================
  Files         975      975              
  Lines      119705   119718      +13     
==========================================
+ Hits        97475    97525      +50     
+ Misses      18478    18450      -28     
+ Partials     3752     3743       -9     
Files Coverage Δ
internal/util/importutilv2/json/row_parser.go 45.56% <90.90%> (+9.26%) ⬆️

... and 29 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Apr 10, 2024
@czs007
Copy link
Contributor

czs007 commented Apr 11, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bigsheeper, czs007

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 merged commit d11309b into milvus-io:2.4 Apr 11, 2024
15 checks passed
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/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants