Skip to content

fix: use array max capacity in iterator adapter - #1995

Merged
sre-ci-robot merged 1 commit into
milvus-io:masterfrom
adrian-wang:fix-max-capacity
Aug 5, 2026
Merged

fix: use array max capacity in iterator adapter#1995
sre-ci-robot merged 1 commit into
milvus-io:masterfrom
adrian-wang:fix-max-capacity

Conversation

@adrian-wang

Copy link
Copy Markdown
Contributor

Use the schema's maxCapacity value instead of maxLength when converting V2 fields. Add a regression test with distinct varchar array length and capacity values.

Use the schema's maxCapacity value instead of maxLength when converting V2 fields. Add a regression test with distinct varchar array length and capacity values.
@sre-ci-robot

Copy link
Copy Markdown

Welcome @adrian-wang! It looks like this is your first PR to milvus-io/milvus-sdk-java 🎉

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@acab35b). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1995   +/-   ##
=========================================
  Coverage          ?   65.08%           
  Complexity        ?     4261           
=========================================
  Files             ?      473           
  Lines             ?    26442           
  Branches          ?     2510           
=========================================
  Hits              ?    17210           
  Misses            ?     7876           
  Partials          ?     1356           
Files with missing lines Coverage Δ
...java/io/milvus/orm/iterator/IteratorAdapterV2.java 40.74% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yhmo

yhmo commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

good catch!

@yhmo

yhmo commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrian-wang, yhmo

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

@mergify

mergify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@sre-ci-robot
sre-ci-robot merged commit 03275d1 into milvus-io:master Aug 5, 2026
8 checks passed
sre-ci-robot pushed a commit that referenced this pull request Aug 5, 2026
Use the schema's maxCapacity value instead of maxLength when converting V2 fields. Add a regression test with distinct varchar array length and capacity values.

Co-authored-by: Daoyuan Wang <me@daoyuan.wang>
sre-ci-robot pushed a commit that referenced this pull request Aug 5, 2026
Use the schema's maxCapacity value instead of maxLength when converting V2 fields. Add a regression test with distinct varchar array length and capacity values.

Co-authored-by: Daoyuan Wang <me@daoyuan.wang>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants