sqlalchemy-bigquery
sqlalchemy-bigquery copied to clipboard
AttributeError: 'Resource' object has no attribute BQDialect.
Hello. I have these two lines below which seem to throw an error which is the following: AttributeError: 'Resource' object has no attribute BQDialect. If I put the query in as text, it works just fine.
import sqlalchemy.sql as sql from sqlalchemy import func import sqlalchemy_bigquery import sqlalchemy_bigquery.base as bq
eml = sql.column("meet.organizer_email")
arg2 = sql.select([eml] ).select_from(sql.table("activity") ).limit(5).compile(dialect=bq.BQDialect())
I have no idea if this is my fault or if something got disconnected in the code. Any help would be appreciated. Thanks.