Title: BigQuery: Client.list_rows should prefetch the first page and populate total_rows and other attributes · Issue #4152 · googleapis/google-cloud-python · GitHub
Open Graph Title: BigQuery: Client.list_rows should prefetch the first page and populate total_rows and other attributes · Issue #4152 · googleapis/google-cloud-python
X Title: BigQuery: Client.list_rows should prefetch the first page and populate total_rows and other attributes · Issue #4152 · googleapis/google-cloud-python
Description: https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/bigquery/table.html#Table.fetch_data Return value doc: :returns: Iterator of row data :class:`tuple`s. During each page, the iterator will have the ``...
Open Graph Description: https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/bigquery/table.html#Table.fetch_data Return value doc: :returns: Iterator of row data :class:`tuple`s. During ...
X Description: https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/bigquery/table.html#Table.fetch_data Return value doc: :returns: Iterator of row data :class:`tuple`s. During ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/4152
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BigQuery: Client.list_rows should prefetch the first page and populate total_rows and other attributes","articleBody":"https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/bigquery/table.html#Table.fetch_data\r\n\r\nReturn value doc:\r\n```\r\n:returns: Iterator of row data :class:`tuple`s. During each page, the\r\n iterator will have the ``total_rows`` attribute set,\r\n which counts the total number of rows **in the table**\r\n (this is distinct from the total number of rows in the\r\n current page: ``iterator.page.num_items``).\r\n```\r\n\r\nThe iterator does not have the `total_rows` attribute or a `page` attribute either.\r\n\r\nCan `fetch_data()` get a count of all rows or the only way is to iterate and count?","author":{"url":"https://github.com/bits01","@type":"Person","name":"bits01"},"datePublished":"2017-10-11T00:29:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/4152/google-cloud-python/issues/4152"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ef3962a-6de8-48ea-1f13-825d5b1970a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E410:29330:E51307:EA3D14:6A4DC2E1 |
| html-safe-nonce | ff0bfec83648ae45f0bd26d63377c82f463a10f66c4a6809c710320d2d95df7b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDEwOjI5MzMwOkU1MTMwNzpFQTNEMTQ6NkE0REMyRTEiLCJ2aXNpdG9yX2lkIjoiMTk3MjY3MzIwNjYxNjQ0MTU2OSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | ebd774384d10fca51ab370c499fbc611ad4b34a385bd5eb39b3bcb11e8f6abc5 |
| hovercard-subject-tag | issue:264420603 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/4152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a860b92fa6891a1fb96802d729e6e111345ab05ba7c17c5f9db3ad02f694598b/googleapis/google-cloud-python/issues/4152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a860b92fa6891a1fb96802d729e6e111345ab05ba7c17c5f9db3ad02f694598b/googleapis/google-cloud-python/issues/4152 |
| og:image:alt | https://googlecloudplatform.github.io/google-cloud-python/latest/_modules/google/cloud/bigquery/table.html#Table.fetch_data Return value doc: :returns: Iterator of row data :class:`tuple`s. During ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bits01 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width