fix: Fix import null geometry data (#45161)

issue: #44787

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2025-10-30 14:18:07 +08:00 committed by GitHub
parent 3566cb745c
commit 3c9aa3e784
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -855,6 +855,9 @@ func (data *GeometryFieldData) AppendRow(row interface{}) error {
default:
return merr.WrapErrParameterInvalid("[]byte", row, "Wrong row type")
}
if data.GetNullable() {
data.ValidData = append(data.ValidData, true)
}
return nil
}