0

I used the java file here https://developers.google.com/bigquery/articles/gettingstartedwithjava It worked perfectly before but since last weekend, every time when i ran it, it always return only 512 records for any query. And I tried the same query directly in web browser by bigquery, it returned 3000+ records. Any help? Thanks.

1 Answer 1

3

The difference is that you're just getting back the first page of results. Try either calling setMaxResults() or paging through the results you get back (by using the pageToken from the GetQueryResultsResponse to request the next page in a subsequent call to getQueryResults(..)....execute();

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

Comments

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.