Skip to content

Source: Bigquery - Response too large #6533

Open
@harshithmullapudi

Description

Enviroment

OS Version / Instance: Ubuntu 18.04.2
Memory / Disk: 16Gb
Deployment: Docker
Airbyte Version: 0.29.22-alpha
Step: Initial Sync

Current Behavior

Tell us what happens.

Expected Behavior

I am trying to sync 30 GB of data from BigQuery (source) to Postgres. The connection failed with com.google.cloud.bigquery.BigQueryException: Response too large to return. Consider specifying a destination table in your job configuration.

Slack conv

https://airbytehq.slack.com/archives/C01MFR03D5W/p1632910265432200


Based on https://cloud.google.com/bigquery/docs/error-messages
responseTooLarge	403

This error returns when your query's results are larger than the maximum response size. Some queries execute in multiple stages, and this error returns when any stage returns a response size that is too large, even if the final result is smaller than the maximum. This error commonly returns when queries use an ORDER BY clause.

Adding a LIMIT clause can sometimes help, or removing the ORDER BY clause. If you want to ensure that large results can return, you can set the allowLargeResults property to true and specify a destination table.


Steps to Reproduce

Are you willing to submit a PR?

Remove this with your answer.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions