It is possible to filter by checking if a column is in a literal
using the in_ column operator of SQLAlchemy - doc
filter(COL.in_(1,2,3)) is converted to SQL WHERE COL IN (1, 2, 3)
which filters by checking if a column is in a literal
I am searching for a way to filter by checking if a literal is in a column, where the column is of type array (or repeated field in BigQuery)
Is there an SQLAlchemy construct in which it is possible to create a filter similar to the following SQL (BigQuery Standard)
WHERE 1 in UNNEST(COL)
A very similar query in PostgreSQL and the expected results can be seen here