Skip to content

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

@tswast

Description

@tswast

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.

Metadata

Metadata

Assignees

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