GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — page_size is ignored when using to_dataframe_iterable with bqstorage_client · Issue #1256 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
page_size is ignored when using to_dataframe_iterable with bqstorage_client #1256Copy link Copy link Closed Labels api: bigqueryIssues related to the googleapis/python-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionEnvironment details
Steps to reproduceDefine a job with page_size and use to_dataframe_iterable with a bqstorage_client. The page_size argument is ignored: the number of rows in the dataframes dont correspond to page_size Code examplefrom google.cloud import bigquery_storage from google.cloud import bigquery project_name = 'my_project' table_name = 'tmp.my_table' bq_client = bigquery.Client(project=project_name) bqstorageclient = bigquery_storage.BigQueryReadClient() # to_dataframe_iterable with list_rows and bqstorage_client. It ignores page_size and uses default job0 = bq_client.list_rows( table=table_name, page_size=100 ) i0 = job0.to_dataframe_iterable(bqstorage_client=bqstorageclient) print(next(i0).shape) # (896, 32) # to_dataframe_iterable with list_rows. page_size is respected job1 = bq_client.list_rows( table=table_name, page_size=100 ) i1 = job1.to_dataframe_iterable() print(next(i1).shape) # (100, 32) # to_dataframe_iterable with query and bqstorage_client. It ignores page_size and uses default job2 = bq_client.query( query='SELECT * FROM %s' % table_name, ) i2 = job2.result(page_size=100).to_dataframe_iterable(bqstorage_client=bqstorageclient) print(next(i2).shape) # (896, 32) # to_dataframe_iterable with query. page_size is respected job3 = bq_client.query( query='SELECT * FROM %s' % table_name, ) i3 = job3.result(page_size=100).to_dataframe_iterable() print(next(i3).shape) # (100, 32) Activity
MetadataMetadataAssigneesLabelsapi: bigqueryIssues related to the googleapis/python-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |