Hi,
I started to use superset and try to load data on BigQuery to superset on docker container. But I could not. Give me advices?
Cheers,
Kimiaki
"version": "0.25.5"
Can connect to bigquery on "Test Connection" in SQLAlchemy URI.
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nCan't load plugin: sqlalchemy.dialects:bigquery"}
You need to pip聽install聽pybigquery
Instead of pip3 install pybigquery ?
Oh idk how this environment is setup, but you need pybigquery in your Python environment.
This is short update. I built docker container to install pybigquery. I modified original dockerfile to build on my laptop. Modified version is here.
I could build and run container, create login user successfully and try again. But I got other error message when I pressed "Test Connection" button.
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\n(setuptools 33.1.1 (/usr/lib/python3/dist-packages), Requirement.parse('setuptools>=34.0.0'), {'google-api-core'})"}
@k-hashimoto that looks like pybigquery also requires google-api-core, which seems logical. Have you tried creating a venv with a basic connection script? This would help you identify all dependancies. Be sure to query and fetch data to ensure everything is flowing.
As you mentioned, you need to include all dependancies in the Dockerfile. Another approach would be setting up a venv with pip install superset.
@aaronbannin According to your advise, I modified my Dockerfile to use venv(latest version is here) and success to login BQ from superset. Thanks!
Most helpful comment
This is short update. I built docker container to install pybigquery. I modified original dockerfile to build on my laptop. Modified version is here.
I could build and run container, create login user successfully and try again. But I got other error message when I pressed "Test Connection" button.
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\n(setuptools 33.1.1 (/usr/lib/python3/dist-packages), Requirement.parse('setuptools>=34.0.0'), {'google-api-core'})"}