feat: add MOL field support in Python SDK#3404
feat: add MOL field support in Python SDK#3404862103595 wants to merge 3 commits intomilvus-io:masterfrom
Conversation
Expose the MOL data type and MOL_FINGERPRINT function in pymilvus, and make query/search result decoding return MOL scalar values from MOL-enabled Milvus servers. Signed-off-by: xiejh <862103595@qq.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 862103595 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @862103595! It looks like this is your first PR to milvus-io/pymilvus 🎉 |
Add focused MOL coverage for search result decoding, entity helper insert/extract paths, nullable scalar handling, and invalid input boundaries. Signed-off-by: xiejh <862103595@qq.com>
5ee491f to
d9b15a1
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3404 +/- ##
=======================================
Coverage 90.76% 90.77%
=======================================
Files 64 64
Lines 13887 13923 +36
=======================================
+ Hits 12605 12639 +34
- Misses 1282 1284 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: xiejh <862103595@qq.com>
Summary
DataType.MOLandFunctionType.MOL_FINGERPRINTinpymilvusDependencies
milvus-io/milvus-proto#554Test plan
PYTHONPATH=. python3 -m pytest --noconftest tests/test_types.py::TestTypes::test_mol_data_type tests/orm/test_schema.py::TestMolFunction tests/test_search_result.py::TestSearchResultExtended::test_mol tests/test_search_result.py::TestSearchResultExtended::test_get_field_data_with_mol tests/test_search_result.py::TestSearchResultExtended::test_extract_struct_field_value_with_mol tests/test_search_result.py::TestSearchResultExtended::test_null_values_all_scalar_types tests/test_client_types.py::TestFunctionType::test_function_type_values[MOL_FINGERPRINT-5] tests/test_client_entity_helper.py::TestEntityHelperExtended::test_pack_field_value_to_field_data_mol tests/test_client_entity_helper.py::TestEntityHelperExtended::test_pack_field_value_to_field_data_mol_invalid_input tests/test_client_entity_helper.py::TestEntityHelperExtended::test_entity_to_field_data_mol tests/test_client_entity_helper.py::TestEntityHelperExtended::test_entity_to_field_data_mol_invalid_input tests/test_client_entity_helper.py::TestEntityHelperExtended::test_extract_row_data_from_fields_data_v2_mol tests/test_client_entity_helper.py::TestEntityHelperExtended::test_extract_row_data_from_fields_data_mol tests/test_client_entity_helper.py::TestEntityHelperExtended::test_entity_to_field_data_nullable_mol tests/test_client_entity_helper.py::TestEntityHelperExtended::test_pack_field_value_nullable_mol_none -q -x