mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
b45798107a
1. add nullable in model.Field help to read nullable accurately. 2. check valid_data a. if user pass default_value or the field is nullable, the length of valid_data must be num_rows. b. if passed valid_data, the length of passed field data must equal to the number of 'true' in valid_data. c. after fill default_value, only nullable field will still has valid_data. 3. fill data in two situation a. has no default_value, if nullable, will fill nullValue when passed num_rows not equal to expected num_rows. b. has default_value, will fill default_value when passed num_rows not equal to expected num_rows. c. after fill data, the length of all field will equal to passed num_rows. #31728 --------- Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com> |
||
---|---|---|
.. | ||
alias_test.go | ||
alias.go | ||
collection_test.go | ||
collection.go | ||
credential_test.go | ||
credential.go | ||
database_test.go | ||
database.go | ||
field_test.go | ||
field.go | ||
index_test.go | ||
index.go | ||
load_info.go | ||
partition_test.go | ||
partition.go | ||
segment_index_test.go | ||
segment_index.go | ||
segment.go |