mirror of
https://github.com/milvus-io/milvus.git
synced 2026-10-12 02:19:10 +00:00
getColumnCreators has no cases for FieldTypeTimestamptz or FieldTypeGeometry, so a row-based insert into a collection containing either field silently produced a nil column and panicked later in AnyToColumns' AppendValue call (nil interface method dispatch). Add column creators for both field types: - Timestamptz maps to NewColumnTimestamptz; ColumnTimestamptz now overrides AppendValue to accept time.Time, *time.Time and ISO 8601 strings (RFC3339Nano), matching the wire format the server expects. - Geometry maps to NewColumnGeometryWKT. Also add an exhaustive regression test enumerating all supported scalar field types, asserting getColumnCreators yields a non-nil column, so a future field type missing a creator is caught by CI instead of panicking at runtime. Related to #53764 --------- Signed-off-by: Congqi Xia <[email protected]>