Is it possible to pass tuple parameters to redshift.read_sql_query? #2146
Unanswered
AdrianoNicolucci
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to query a table in redshift using the read_sql_query method for multiple values in a column. The "params" parameter doesn't seem to accept the python tuple. In my example below, I want to return values where column_1 is in (1,2)
this throws the error:
What is the correct way to pass a python tuple to the "params" method (assuming this is possible)?
Beta Was this translation helpful? Give feedback.
All reactions