Skip to content

Commit

Permalink
Use ValueOfString
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 14, 2024
1 parent 3472b8a commit 1a09d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/bigquery/storagewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func rowToMessage(row map[string]any, columns []columns.Column, messageDescripto
}
list := message.Mutable(field).List()
for _, value := range values {
list.Append(protoreflect.ValueOf(value))
list.Append(protoreflect.ValueOfString(value))
}
default:
return nil, fmt.Errorf("unsupported column kind: %q", column.KindDetails.Kind)
Expand Down

0 comments on commit 1a09d0c

Please sign in to comment.