Skip to content

fix: add missing GEOMETRY case in DefaultValueChunkTranslator::value_size()#48556

Open
congqixia wants to merge 1 commit intomilvus-io:masterfrom
congqixia:fix/defvaltrans_geo_size
Open

fix: add missing GEOMETRY case in DefaultValueChunkTranslator::value_size()#48556
congqixia wants to merge 1 commit intomilvus-io:masterfrom
congqixia:fix/defvaltrans_geo_size

Conversation

@congqixia
Copy link
Contributor

Related to #48555

GEOMETRY is a string-based data type but was not handled in the value_size() switch, causing DataTypeInvalid to be thrown when loading segments with default-valued GEOMETRY fields.

…size()

Related to milvus-io#48555

GEOMETRY is a string-based data type but was not handled in the
value_size() switch, causing DataTypeInvalid to be thrown when
loading segments with default-valued GEOMETRY fields.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@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

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

@sre-ci-robot sre-ci-robot added approved size/XS Denotes a PR that changes 0-9 lines. labels Mar 26, 2026
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Mar 26, 2026
@sre-ci-robot
Copy link
Contributor

[ci-v2-notice]
Notice: New ci-v2 system is enabled for this PR.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check // for ci-v2/code-check
  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-build-all // for ci-v2/build-all (multi-arch builds)
  • /ci-rerun-buildenv // for ci-v2/build-env (build milvus-env builder images)
  • /ci-rerun-ut-integration // for ci-v2/ut-integration, will rerun ci-v2/build
  • /ci-rerun-ut-go // for ci-v2/ut-go, will rerun ci-v2/build
  • /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, will rerun ci-v2/build
  • /ci-rerun-e2e-arm // for ci-v2/e2e-arm
  • /ci-rerun-e2e-default // for ci-v2/e2e-default
  • /ci-rerun-ciloop // for ci-v2/ciloop (build + unit tests in one pipeline)
  • /ci-rerun-gosdk // for ci-v2/go-sdk (Go SDK E2E tests, AMD)
  • /ci-rerun-gosdk-arm // for ci-v2/go-sdk-arm (Go SDK E2E tests, ARM)

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

@sparknack
Copy link
Contributor

/lgtm

@codecov
Copy link

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.62%. Comparing base (1a84e8d) to head (818389d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #48556       +/-   ##
===========================================
+ Coverage   45.42%   77.62%   +32.19%     
===========================================
  Files          12     2112     +2100     
  Lines        2067   351495   +349428     
===========================================
+ Hits          939   272844   +271905     
- Misses       1076    70309    +69233     
- Partials       52     8342     +8290     
Components Coverage Δ
Client 79.25% <ø> (∅)
Core 84.01% <100.00%> (∅)
Go 75.79% <ø> (∅)
Files with missing lines Coverage Δ
...toragev1translator/DefaultValueChunkTranslator.cpp 96.42% <100.00%> (ø)

... and 2099 files with indirect coverage changes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/XS Denotes a PR that changes 0-9 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants