-
Notifications
You must be signed in to change notification settings - Fork 595
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 - running a large length query fails with HTTP400 #1503
Comments
I wasn't able to reproduce with a 8,732 chars long query. We send the query string as part of the JSON payload of the HTTP request, so it's not in the URL itself. The |
Confusingly, the same query runs fine in the BQ UI - any chance of getting error details in the response rather than an HTML payload? |
Currently, console.log(err) is that string of HTML? |
Since I can't get the same error you're getting, I forced another by using a malformed query. The error returned looks like this: bigquery.query('malformed query', function(err) {})
|
Running a BQ query is done via an HTTP GET which is failing on long queries as the URL is too long and rejected.
Environment details
Steps to reproduce
gcloud-node
The text was updated successfully, but these errors were encountered: