BigQuery StorageWrite: JsonToProtoMessage numeric error #1516
Labels
api: bigquerystorage
Issues related to the googleapis/java-bigquerystorage API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Environment details
Steps to reproduce
[{"d":1}]
Stack trace
External references such as API reference guides
Any additional information below
It seems if you try to write an int/long to a NUMERIC field, it fails because the proto converter requires a bytes object for NUMERIC's. Looking at
java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonToProtoMessage.java
Line 229 in 4c532b0
The text was updated successfully, but these errors were encountered: