mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Check json nested path before validating data type (#43329)
issue: #43279 Signed-off-by: sunby <sunbingyi1992@gmail.com>
This commit is contained in:
parent
69c8c2660b
commit
21e71f6eb2
@ -137,12 +137,14 @@ class SegmentSealed : public SegmentInternalInterface {
|
||||
return path.substr(0, index.nested_path.length()) ==
|
||||
index.nested_path;
|
||||
}
|
||||
if (index.nested_path != path) {
|
||||
return false;
|
||||
}
|
||||
if (any_type) {
|
||||
return true;
|
||||
}
|
||||
return index.nested_path == path &&
|
||||
milvus::index::json::IsDataTypeSupported(
|
||||
index.cast_type, data_type, is_json_contain);
|
||||
return milvus::index::json::IsDataTypeSupported(
|
||||
index.cast_type, data_type, is_json_contain);
|
||||
});
|
||||
return it != json_indices.end();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user