googleapis / googleapis/google-cloud-python

add `filters` parameter on `read_gbq` which applies when using a table ID as input

Open
#14,478 0 comments 0 reactions 1 assignee Claimed by @tswast View on GitHub
api: bigquery priority: p3 type: feature request
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

The BigQuery Storage API accepts a `row_restriction` parameter. It'd be nice to be able to plumb that through to the API. See: https://cloud.google.com/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1#google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.FIELDS.string.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.row_restriction

For related work, see "filters" in pandas `read_parquet`: https://pandas.pydata.org/docs/reference/api/pandas.read_parquet.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.