Skip to content

Commit

Permalink
%q
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 14, 2024
1 parent e575e68 commit c8da513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/bigquery/storagewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit c8da513

Please sign in to comment.