Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bigquery : Field "null" when for boolean values when given false, 0 #4130

Closed
gauravgola96 opened this issue May 19, 2021 · 2 comments
Closed
Assignees
Labels
api: bigquery Issues related to the BigQuery API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@gauravgola96
Copy link

I am trying to stream boolean values into big query table. Using Grpc storage write client in Golang.
But facing error as whenever 0 or false is sent it become null in the table

my proto message

message event{
  bool abc = 1;
}

marshaling

eventProto := Event{ abc : false}
rowData,err := eventProto.Marshal()

I am using "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2"

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label May 19, 2021
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels May 21, 2021
@shollyman shollyman added priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed triage me I really want to be triaged. labels May 24, 2021
@shollyman
Copy link
Contributor

I need to go back and extend support to do this. Will try to find time soon.

@yoshi-automation yoshi-automation removed the 🚨 This issue needs some love. label May 24, 2021
@shollyman
Copy link
Contributor

Closing this in favor of veneer work in #4366.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants