From c8da51376362ed403ff42f9b34beb0a9cc1da7d7 Mon Sep 17 00:00:00 2001 From: Nathan <148575555+nathan-artie@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:05:52 -0700 Subject: [PATCH] %q --- clients/bigquery/storagewrite.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/bigquery/storagewrite.go b/clients/bigquery/storagewrite.go index e7f752b4a..28e66658b 100644 --- a/clients/bigquery/storagewrite.go +++ b/clients/bigquery/storagewrite.go @@ -172,7 +172,7 @@ func rowToMessage(row map[string]any, columns []columns.Column, messageDescripto } message.Set(field, protoreflect.ValueOfInt64(extTime.UnixMicro())) default: - return nil, fmt.Errorf("unsupported extended time details: %s", column.KindDetails.ExtendedTimeDetails.Type) + return nil, fmt.Errorf("unsupported extended time details: %q", column.KindDetails.ExtendedTimeDetails.Type) } case typing.Struct.Kind: stringValue, err := EncodeStructToJSONString(value) @@ -193,7 +193,7 @@ func rowToMessage(row map[string]any, columns []columns.Column, messageDescripto list.Append(protoreflect.ValueOf(value)) } default: - return nil, fmt.Errorf("unsupported column kind: %s", column.KindDetails.Kind) + return nil, fmt.Errorf("unsupported column kind: %q", column.KindDetails.Kind) } } return message, nil