From 784cbf036c33954b0e53fc8d0e0db3d610ec2fa7 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Thu, 24 Oct 2024 10:30:27 -0700 Subject: [PATCH] Support Timestamp NTZ in BQ. --- clients/bigquery/storagewrite.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/bigquery/storagewrite.go b/clients/bigquery/storagewrite.go index d6933eb98..925012723 100644 --- a/clients/bigquery/storagewrite.go +++ b/clients/bigquery/storagewrite.go @@ -46,6 +46,8 @@ func columnToTableFieldSchema(column columns.Column) (*storagepb.TableFieldSchem fieldType = storagepb.TableFieldSchema_DATE case ext.TimestampTZKindType: fieldType = storagepb.TableFieldSchema_TIMESTAMP + case ext.TimestampNTZKindType: + fieldType = storagepb.TableFieldSchema_DATETIME default: return nil, fmt.Errorf("unsupported extended time details type: %q", column.KindDetails.ExtendedTimeDetails.Type) }