move-coop / parsons

A python library of connectors for the progressive community.
Other
255 stars 125 forks source link

[Bug] BigQuery parameterization cannot handle `in %s` syntax #1033

Open austinweisgrau opened 2 months ago

austinweisgrau commented 2 months ago

Using the Redshift connector, you can parameterize an in statement like so: Redshift().query("select * from table where value in %s", parameters=[tuple(values)])

However, with the BigQuery connector, this kind of syntax results in a syntax error.

Detailed Description

To Reproduce

Your Environment

Additional Context

Add any other context about the problem here.

Priority

Please indicate whether fixing this bug is high, medium, or low priority for you. If the issue is time-sensitive for you, please let us know when you need it addressed by.