BigQuery: max_results
is ignored if bqstorage_client
is used in to_dataframe
or to_arrow
#9174
Labels
api: bigquery
Issues related to the BigQuery API.
api: bigquerystorage
Issues related to the BigQuery Storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Steps to reproduce
list_rows
withmax_results
set.to_dataframe
orto_arrow
.Code example
Output
Possible fixes
max_results
is set, always download data with tabledata.list.I think we should implement the fix with (2) because if
max_results
is set, it's unlikely that we are downloading all that many rows where using the BQ Storage API makes sense.The text was updated successfully, but these errors were encountered: