Repository navigation
feat: Store arrays and Json natively in every new Milvus collection - #7123
Merged
ntkathole merged 1 commit intoNov 11, 2026
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7123 +/- ##
==========================================
+ Coverage 51.79% 51.81% +0.01%
==========================================
Files 458 458
Lines 57715 57736 +21
Branches 8483 8486 +3
==========================================
+ Hits 29896 29918 +22
+ Misses 25793 25792 -1
Partials 2026 2026
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ntkathole
force-pushed
the
feat/milvus-native-arrays-json-default
branch
from
November 11, 2026 04:04
b9e5fda to
2575e2a
Compare
ntkathole
approved these changes
Nov 11, 2026
ARRAY and JSON columns are independent of enable_openai_compatible_store. Every new collection gets them. A collection that an older Feast version created keeps its VARCHAR columns, and the column types of each collection decide how a row is written and read. Signed-off-by: jiwidi <fhjaime96@gmail.com>
ntkathole
force-pushed
the
feat/milvus-native-arrays-json-default
branch
from
November 11, 2026 14:40
2575e2a to
bea58b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
#7120 added native
ARRAYandJSONcolumns to the Milvus online store, behindenable_openai_compatible_store. This PR removes that condition. Every new collection storesarrays and
Jsonvalues natively:ArrayofString,Bool,Int32,Int64,Float32,Float64orUnixTimestamp, withoutvector_indexARRAYof the element type, with at mostmilvus.max_capacityelements (default and maximum 4096)JsonandArray(Json)JSONenable_openai_compatible_storekeeps its original meaning: it selects native numeric columns.MapandStructstay serialized, as in #7120.Why no flag. The text storage is not a format to keep. A filter cannot reach a base64 column,
and Milvus cannot validate it. With the flag, a user gets the weaker storage unless they find a
setting whose name does not describe it. The #7120 benchmark shows that native columns cost nothing
on insert and make array and JSON path filters possible.
Effect on existing users. A collection that an older Feast version created keeps its
VARCHARcolumns and keeps working. The column types of each collection decide how a row is written and
read, as #7025 does for numeric columns. Only new collections change, and three things differ for
them:
Jsonvalue must be an object or an array.The docs describe how to recreate a collection and a staged cutover that avoids a
feast teardown.Open question for maintainers. Is a new default with a release note acceptable here? If you
prefer to keep an opt-in flag, I will close this PR, or change it to a dedicated flag with a
clearer name.
Which issue(s) this PR fixes:
N/A
Checks
git commit -s)Testing Strategy
Unit tests
Integration tests
Manual tests
Testing is not required for this change
Unit (mocked client):
Jsonand arrays get nullableJSONandARRAYcolumns with the flagoff, and numerics stay
VARCHARuntil the flag is on.Unit (Milvus Lite): the complex-value round-trip, the JSON path filter and the array element
delete from feat: Add native complex types and scalar index tags to the Milvus online store #7120 now run with the default config.
Server: the same tests pass on a local Milvus 3.0.2 server without the flag.
76 unit tests on Milvus Lite 3.2.1 (pymilvus 3.0.2) and 15 server tests in
sdk/python/tests/integration/online_store/test_milvus_remote.pypass.Misc
Follows #7120. This PR and #7118 change adjacent lines of the config table in the docs. I will
rebase the second one after the first merges.