Skip to content

Comments

feat: impl StructArray -- support same names in different STRUCT#44557

Merged
sre-ci-robot merged 6 commits intomilvus-io:masterfrom
SpadeA-Tang:name-in-struct
Oct 10, 2025
Merged

feat: impl StructArray -- support same names in different STRUCT#44557
sre-ci-robot merged 6 commits intomilvus-io:masterfrom
SpadeA-Tang:name-in-struct

Conversation

@SpadeA-Tang
Copy link
Contributor

ref: #42148

Signed-off-by: SpadeA <[email protected]>
@sre-ci-robot sre-ci-robot added the size/XL Denotes a PR that changes 500-999 lines. label Sep 24, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/feature Issues related to feature request from users labels Sep 24, 2025
@sre-ci-robot
Copy link
Contributor

[ci-v2-notice]
Notice: We are gradually rolling out the new ci-v2 system.

  • Legacy CI jobs remain unaffected, you can just ignore ci-v2 if you don't want to run it.
  • Additional "ci-v2/*" checkers will run for this PR to ensure the new ci-v2 system is working as expected.
  • For tests that exist in both v1 and v2, passing in either system is considered PASS.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-ut-integration // for ci-v2/ut-integration
  • /ci-rerun-ut-go // for ci-v2/ut-go
  • /ci-rerun-ut-cpp // for ci-v2/ut-cpp
  • /ci-rerun-ut // for all ci-v2/ut-integration, ci-v2/ut-go, ci-v2/ut-cpp

If you have any questions or requests, please contact @zhikunyao.

}

// FieldsData in results are flattened, so we need to reconstruct the struct fields
func reconstructStructFieldData(results *milvuspb.QueryResults, schema *schemapb.CollectionSchema) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

dead function

Copy link
Collaborator

@zhengbuqian zhengbuqian left a comment

Choose a reason for hiding this comment

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

good job!

Signed-off-by: SpadeA <[email protected]>
@mergify
Copy link
Contributor

mergify bot commented Sep 24, 2025

@SpadeA-Tang go-sdk check failed, comment rerun go-sdk can trigger the job again.

@mergify
Copy link
Contributor

mergify bot commented Sep 24, 2025

@SpadeA-Tang cpu-e2e job failed, comment /run-cpu-e2e can trigger the job again.

@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

❌ Patch coverage is 73.77049% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.01%. Comparing base (1d85b83) to head (752cffd).
⚠️ Report is 16 commits behind head on master.

Files with missing lines Patch % Lines
internal/proxy/util.go 73.97% 13 Missing and 6 partials ⚠️
internal/proxy/task.go 10.00% 6 Missing and 3 partials ⚠️
internal/proxy/service_provider.go 89.74% 3 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #44557       +/-   ##
===========================================
- Coverage   83.99%   77.01%    -6.98%     
===========================================
  Files         504     1824     +1320     
  Lines       76804   284920   +208116     
===========================================
+ Hits        64511   219435   +154924     
- Misses      12293    58406    +46113     
- Partials        0     7079     +7079     
Components Coverage Δ
Client 77.99% <ø> (∅)
Core 83.99% <ø> (ø)
Go 75.15% <73.77%> (∅)
Files with missing lines Coverage Δ
internal/proxy/task_query.go 74.29% <ø> (ø)
internal/proxy/service_provider.go 65.95% <89.74%> (ø)
internal/proxy/task.go 78.15% <10.00%> (ø)
internal/proxy/util.go 76.25% <73.97%> (ø)

... and 1316 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: SpadeA <[email protected]>
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SpadeA-Tang, zhengbuqian

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

Signed-off-by: SpadeA <[email protected]>
@mergify
Copy link
Contributor

mergify bot commented Oct 9, 2025

@SpadeA-Tang cpu-e2e job failed, comment /run-cpu-e2e can trigger the job again.

@mergify
Copy link
Contributor

mergify bot commented Oct 9, 2025

@SpadeA-Tang go-sdk check failed, comment rerun go-sdk can trigger the job again.

@SpadeA-Tang
Copy link
Contributor Author

rerun go-sdk

@mergify
Copy link
Contributor

mergify bot commented Oct 9, 2025

@SpadeA-Tang go-sdk check failed, comment rerun go-sdk can trigger the job again.

@mergify
Copy link
Contributor

mergify bot commented Oct 9, 2025

@SpadeA-Tang go-sdk check failed, comment rerun go-sdk can trigger the job again.

@SpadeA-Tang
Copy link
Contributor Author

rerun go-sdk

@mergify
Copy link
Contributor

mergify bot commented Oct 9, 2025

@SpadeA-Tang go-sdk check failed, comment rerun go-sdk can trigger the job again.

@SpadeA-Tang
Copy link
Contributor Author

rerun go-sdk

@SpadeA-Tang
Copy link
Contributor Author

/refresh-label

Signed-off-by: SpadeA <[email protected]>
@SpadeA-Tang
Copy link
Contributor Author

/ci-rerun-ut-integration

@mergify mergify bot added the ci-passed label Oct 10, 2025
@zhagnlu
Copy link
Contributor

zhagnlu commented Oct 10, 2025

/lgtm

@sre-ci-robot sre-ci-robot merged commit 208481a into milvus-io:master Oct 10, 2025
16 of 18 checks passed
sre-ci-robot pushed a commit that referenced this pull request Oct 24, 2025
)

After #44557, the field name in
STRUCT field becomes STRUCT_NAME[FIELD_NAME]
This PR make import consider the change.

issue: #45006
ref: #42148

TODO: parquet is much more complex than csv/json, and I will leave it to
a separate PR.

---------

Signed-off-by: SpadeA <[email protected]>
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/feature Issues related to feature request from users lgtm sig/testing size/XL Denotes a PR that changes 500-999 lines. test/integration integration test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants