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
If you have a bool field in the proto.Message and this is set to false it will not be part of the output map[string]bigquery.Value during marshalling. This means that when inserting the data into BigQuery this column will get the value null.
I think null would be fine if the type was the wrapper BoolValue but for bool it should resolve to false in the end.
If you have a
bool
field in theproto.Message
and this is set tofalse
it will not be part of the outputmap[string]bigquery.Value
during marshalling. This means that when inserting the data into BigQuery this column will get the valuenull
.I think
null
would be fine if the type was the wrapperBoolValue
but forbool
it should resolve tofalse
in the end.I modified the existing test in
example_test.go
Output
I can't find any
MarshalOptions
to control this behaviour.The text was updated successfully, but these errors were encountered: