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 gem fails to upload json > 5 MB #27349

Open
kshitij6325 opened this issue Sep 19, 2024 · 0 comments
Open

Bigquery gem fails to upload json > 5 MB #27349

kshitij6325 opened this issue Sep 19, 2024 · 0 comments
Assignees
Labels
api: bigquery Issues related to the BigQuery API.

Comments

@kshitij6325
Copy link

kshitij6325 commented Sep 19, 2024

Description

I am encountering an issue when attempting to insert a row with JSON content (28 MB) as field into BigQuery using the google-cloud-bigquery gem. When the JSON size exceeds 5MB, the operation fails with the following error:

HTTPClient::KeepAliveDisconnected: Broken pipe (HTTPClient::KeepAliveDisconnected)

The maximum field size supported by BigQuery is 100MB. The operation works fine when the JSON size is under 5MB.

Stacktrace

ruby-stacktrace.txt

Environment details

  • OS: Mac OS
  • Ruby version: 2.7.2
  • Gem name and version: google-cloud-bigquery (1.50.0)
@kshitij6325 kshitij6325 changed the title Bigwuery gem fails to upload file > 5 MB Bigquery gem fails to upload json > 5 MB Sep 19, 2024
@alvarowolfx alvarowolfx added the api: bigquery Issues related to the BigQuery API. label Dec 2, 2024
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.
Projects
None yet
Development

No branches or pull requests

3 participants