Support the passing of arrays as single arguments to BigQuery #194
Labels
api: bigquery
Issues related to the googleapis/python-bigquery-sqlalchemy API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Hey guys! thanks for the awesome plugin!
Is your feature request related to a problem? Please describe.
BigQuery only supports 10K parameters to be passed in a single query. while this is enough for the most part, sometimes that could cause real issues, for example:
Describe the solution you'd like
Fortunately, BQ supports passing an array as a single parameter, but SQLAlchemy+pybigquery doesn't take advantage of that. I have made a little workaround to fulfill my own needs, I guess this could be used in the pybigquery implementation of
Column.in_
Describe alternatives you've considered
I did try to split the statement in the query, but it didn't help.
the only other thing that worked was making the entire query with text.
The text was updated successfully, but these errors were encountered: