fix: [2.5] Fix import null geometry data (#45163)

issue: #44787 

master pr: #45161

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2025-10-31 12:34:10 +08:00 committed by GitHub
parent 8f2ca3bf0f
commit 0ca74f234f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -752,6 +752,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
}