You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TIMESTAMP_NTZ is scanned as a zoned TIMESTAMP #506
TIMESTAMP and TIMESTAMP_NTZ both come back from rows.Scan as time.Time, and ColumnTypeDatabaseTypeName reports TIMESTAMP for both. A zone-less value cannot be told apart from an instant, and it is passed through a location conversion.
On the Arrow batch the two types are different. Both are timestamp[us]. The TIMESTAMP field has a time zone set. The TIMESTAMP_NTZ field has an empty TimeZone. Nothing in the driver reads that. GetDBTypeName returns the Thrift primitive name with _TYPE stripped, and there is no TIMESTAMP_NTZ handling in the driver. Every *arrow.TimestampType uses one converter, built from arrow.FixedWidthTypes.Timestamp_us.
Reproducer, against a SQL warehouse:
Activity