Files
congqixia fb7d370050 fix: [GoSDK] support Timestamptz row insert (#53775)
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]>
2026-10-10 15:39:42 +08:00
..