mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
fix: Fix import null geometry data (#45161)
issue: #44787 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
3566cb745c
commit
3c9aa3e784
@ -855,6 +855,9 @@ func (data *GeometryFieldData) AppendRow(row interface{}) error {
|
|||||||
default:
|
default:
|
||||||
return merr.WrapErrParameterInvalid("[]byte", row, "Wrong row type")
|
return merr.WrapErrParameterInvalid("[]byte", row, "Wrong row type")
|
||||||
}
|
}
|
||||||
|
if data.GetNullable() {
|
||||||
|
data.ValidData = append(data.ValidData, true)
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user