You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the emulator to test code for batch writing protobuf messages to BigQuery using the Storage Write API, there's a nil pointer error from the emulator if the message contains a wrapper type.
What happened?
When using the emulator to test code for batch writing protobuf messages to BigQuery using the Storage Write API, there's a nil pointer error from the emulator if the message contains a wrapper type.
Here's the stack trace from the emulator:
What did you expect to happen?
I'd expect this to work in the same way as BigQuery where wrapper types are supported.
How can we reproduce it (as minimally and precisely as possible)?
With this proto file:
(which generates this go code - expand to see)
and this generated bq schema (using protoc-gen-bq-schema):
it can be reproduced with this test:
Anything else we need to know?
It seems to be the call to
result.GetResult
that triggers the issue.If the
DoubleWrapperField
is not set, the issue is not seen.The text was updated successfully, but these errors were encountered: