You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/04/26 11:47:11 UTC
[GitHub] swamy16 commented on issue #945: Google BigQuery Support
swamy16 commented on issue #945: Google BigQuery Support
URL: https://github.com/apache/incubator-superset/issues/945#issuecomment-384611534
Hi all,
I am trying to connect bigquery to superset using the method specified by @mxmzdlv on Jun 7, 2017. I am receiving an error while connecting. I ran the following code
from sqlalchemy import *
from sqlalchemy.engine import create_engine
from sqlalchemy.schema import *
engine = create_engine('bigquery://my_project_id')
table = Table('Weekly_trial.hour_timeband_mapping', MetaData(bind=engine), autoload=True)
Error I got is as below
sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') (Background on this error at: http://sqlalche.me/e/rvf5)
I ran the above code in command promt in windows 10 in python module.
Please let me know If I am doing anything wrong.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services