2

In order to fix large data set issue in BigQuery - i.e. following exception Errors = {u'reason': u'responseTooLarge', u'message': u'Response too large to return.'} .

I changed one variable 'allowLargeResults': True this removed error but introduced another error in query execution. Error is quite generic and doesnt give any pointers on what it can be because. Errors = {u'reason': u'internalError', u'message': u'Unexpected. Please try again.'}

Anyone has any pointers on how can I debug this and get more relevant information about the error/what is causing it. Will appreciate any help I can get here!

2
  • Can you share a job ID for a query that failed with "Unexpected. Please try again."? Commented Nov 6, 2014 at 23:54
  • @DannyKitt , Job id is job_mqUmJfuspWw4vjaYIUyO5nkeOFA. It works for small data set without the variable. Only when data set is huge, I get the exception and when I set the variable I get another exception. Commented Nov 7, 2014 at 10:20

1 Answer 1

2

You're encountering a known bug in BigQuery, to be fixed in our next release. To work around the issue in the meantime, rename your field alias "Table" to practically any other identifier, like "TableName".

Sign up to request clarification or add additional context in comments.

4 Comments

I have already implemented this in my code, yet I'm getting error
Can you supply an Job ID following the update? It may be that there were multiple issues, and changing the name only solved the first.
Now, I was able to get success some times but sometimes it failed giving error :- "TypeError: object of type 'NoneType' has no len()". The JOB ID for failed case is job_zvfHJCKt1H0WA9L55nJbhrLLEXU.
The len() error appears to be a python programming issue, rather than the bigquery query itself. job_zvfHJCKt1H0WA9L55nJbhrLLEXU shows a success result, and the destination table received 8.575M rows. Perhaps you're iterating over a result value without checking for a Python None value?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.