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 readable JSON file import for Float16/BFloat16/SparseFloat #33064

Merged

Conversation

cydrain
Copy link
Contributor

@cydrain cydrain commented May 15, 2024

Issue: #22837

@sre-ci-robot sre-ci-robot added area/test sig/testing test/integration integration test size/L Denotes a PR that changes 100-499 lines. labels May 15, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels May 15, 2024
Copy link
Contributor

mergify bot commented May 15, 2024

@cydrain E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@cydrain cydrain force-pushed the caiyd_support_readable_json_2 branch from fe62771 to 767f0a8 Compare May 15, 2024 06:54
Copy link
Contributor

mergify bot commented May 15, 2024

@cydrain E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@cydrain cydrain force-pushed the caiyd_support_readable_json_2 branch from 767f0a8 to 477e4f2 Compare May 15, 2024 08:43
pkg/util/typeutil/schema.go Show resolved Hide resolved
pkg/util/typeutil/schema.go Show resolved Hide resolved
pkg/util/typeutil/schema.go Show resolved Hide resolved
pkg/util/typeutil/schema_test.go Outdated Show resolved Hide resolved
pkg/util/typeutil/schema_test.go Outdated Show resolved Hide resolved
pkg/util/typeutil/schema_test.go Outdated Show resolved Hide resolved
pkg/util/typeutil/schema_test.go Outdated Show resolved Hide resolved
…eFloat

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
@cydrain cydrain force-pushed the caiyd_support_readable_json_2 branch from 477e4f2 to 0bae085 Compare May 16, 2024 03:10
Copy link

codecov bot commented May 16, 2024

Codecov Report

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

Project coverage is 82.09%. Comparing base (40e5c0b) to head (0bae085).
Report is 23 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33064      +/-   ##
==========================================
+ Coverage   82.06%   82.09%   +0.03%     
==========================================
  Files        1005     1006       +1     
  Lines      127648   128277     +629     
==========================================
+ Hits       104748   105313     +565     
- Misses      18923    18973      +50     
- Partials     3977     3991      +14     
Files Coverage Δ
pkg/util/testutils/gen_data.go 92.15% <100.00%> (ø)
pkg/util/typeutil/convension.go 100.00% <100.00%> (ø)
pkg/util/typeutil/schema.go 86.11% <90.47%> (-0.08%) ⬇️
internal/util/importutilv2/json/row_parser.go 64.02% <63.15%> (-0.33%) ⬇️

... and 70 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 16, 2024
@bigsheeper
Copy link
Contributor

/lgtm

@zhengbuqian
Copy link
Collaborator

reviewed sparse part
/lgtm
/approve

@zhuwenxing
Copy link
Contributor

/lgtm

@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, zhengbuqian

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 4ef163f into milvus-io:master May 16, 2024
15 checks passed
@cydrain cydrain deleted the caiyd_support_readable_json_2 branch May 16, 2024 06:47
cydrain added a commit to cydrain/milvus that referenced this pull request May 27, 2024
…ilvus 2.4

  milvus-io#33064 Support readable JSON file import for Float16/BFloat16/SparseFloat
  milvus-io#33101 Store SparseFloatVector into parquet as JSON string
  milvus-io#33187 Fix SparseFloatVector data parse error for parquet
  milvus-io#33259 Fix SparseFloatVector data parse error for json
  milvus-io#33224 Optimize bulk insert unittest

Issue: milvus-io#22837

Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request May 30, 2024
…ilvus2.4 (#33391)

Cherry pick from master
pr: #33064 #33101 #33187 #33259 #33224
#33064 Support readable JSON file import for
Float16/BFloat16/SparseFloat
  #33101 Store SparseFloatVector into parquet as JSON string
  #33187 Fix SparseFloatVector data parse error for parquet
  #33259 Fix SparseFloatVector data parse error for json
  #33224 Optimize bulk insert unittest

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/L Denotes a PR that changes 100-499 lines. test/integration integration test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants