-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: populate RowIterator.total_rows after running a query job #6117
Comments
My initial preference would be against exposing this directly as property of the QueryJob, as its part of the jobs.getQueryResults / tabledata.list response and not a member of the query stats metadata. Is the interest in fetching the table statistics for the results without the extra fetch of destination table metadata, or are you interested in it related to progress while fetching row data? |
The interest is to determine how many rows a query, when completed, has generated. Note that |
Thanks for clarifying the interest is in the effective delta. For the case where you run a query with a destination table and a If that sounds like what you're after, I'll request it for inclusion in the backend response. There's insufficient information in the existing response to correctly report the delta for the append case. |
Let's cancel the request as I just suggested making the existing - and perfectly working - I will just use the private |
Let's write the |
Thanks Tim ! To add some additional context, I have also reported an unexpected behavior of the underlying |
Request to have
total_rows
property public, underQueryJob()
along with other statsThe text was updated successfully, but these errors were encountered: