GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BigQuery: fetch_data() should return a core iterator · Issue #2840 · googleapis/google-cloud-python

BigQuery: fetch_data() should return a core iterator #2840

New issue
Copy link
New issue
Copy link
Closed
Closed
BigQuery: fetch_data() should return a core iterator#2840
Copy link
Assignees
tseaver
Labels
api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@tswast
tswast
opened on Dec 7, 2016
Issue body actions

See: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/bigquery/google/cloud/bigquery/query.py#L363

def fetch_data(...):
    """...
     :returns: ``(row_data, total_rows, page_token)``
    ...
    """

I would expect it to return some kind of Iterator to be consistent with the other cloud APIs.

Activity

  1. tswast
    added
    api: bigqueryIssues related to the BigQuery API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Dec 7, 2016
  2. dhermes commented on Dec 7, 2016

    @dhermes
    dhermes
    on Dec 7, 2016
    Contributor
    More actions

    I'll defer to @tseaver. We discussed this for QueryResults.fetch_data and one other method?

  3. lukesneeringer
    added
    type: questionRequest for information or clarification. Not an issue.
    and removed
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Feb 28, 2017
  4. danoscarmike
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Feb 28, 2017
  5. lukesneeringer
    assigned
    tseaver
    on Feb 28, 2017
  6. danoscarmike
    added
    Status: Acknowledged
    on Feb 28, 2017
  7. tseaver commented on Jun 7, 2017

    @tseaver
    tseaver
    on Jun 7, 2017
    Contributor
    More actions

    Table.fetch_data already returns an iterator. I will work on a PR to make QueryResults.fetch_data do likewise (I thought it was already done).

    Reacted by Tim Sweña (Swast)
  8. tseaver
    closed this as completedon Jun 7, 2017
  9. tseaver
    reopened this on Jun 7, 2017
  10. tseaver
    added a commit that references this issue on Jun 7, 2017

    Make 'QueryResponse.fetch_data' return an iterator.

    This issue will close once commit 9709d51 is merged into the 'main' branch.
    9709d51
  11. tseaver
    closed this as completedin #3484on Jun 9, 2017
  12. tseaver
    added a commit that references this issue on Jun 9, 2017

    Make 'QueryResponse.fetch_data' return an iterator. (#3484)

    This issue will close once commit 5697b3a is merged into the 'main' branch.
    5697b3a
  13. nprogers commented on Jul 26, 2017

    @nprogers
    nprogers
    on Jul 26, 2017
    More actions

    Docs need to be updated: https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery/query.html

  14. dhermes commented on Jul 26, 2017

    @dhermes
    dhermes
    on Jul 26, 2017
    Contributor
    More actions

    @nprogers-WPE Check out the latest docs: https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery/query.html

    @lukesneeringer I'm kind of at a loss with what to do with our stable docset (which is the default that people land in from https://googlecloudplatform.github.io/google-cloud-python/)

  15. landrito
    added 3 commits that reference this issue on Aug 21, 2017

    Make 'QueryResponse.fetch_data' return an iterator. (googleapis#3484)

    This issue will close once commit 655f23c is merged into the 'master' branch.
    655f23c

    Make 'QueryResponse.fetch_data' return an iterator. (googleapis#3484)

    This issue will close once commit 6d36fd6 is merged into the 'master' branch.
    6d36fd6

    Make 'QueryResponse.fetch_data' return an iterator. (googleapis#3484)

    This issue will close once commit 4954cd7 is merged into the 'master' branch.
    4954cd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.