'Superset database connection with Teradata error
I am trying to connect TD with superset running in kube. This is code from my Dockerfile:
USER root
RUN pip install sqlalchemy-teradata
RUN pip install teradatasql
RUN pip install "apache-superset[teradata]"
COPY tdodbc1700 /usr/local/lib/python3.8/site-packages/
ENV ODBCINI=/.../teradata/client/ODBC_64/odbc.ini
ENV ODBCINST=/.../teradata/client/ODBC_64/odbcinst.ini
This is the sql alchemy URI I am giving:
teradata://user:pwd@host:port/schema
Error I am getting:
"Unexpected error occurred, please check your logs for details"
I am not sure where to check log for more details? Please suggest how to get TD connected with Superset.
Note:
- tdodbc1700 used in Dockerfile is ODBC driver for Linux. This is unzipped folder downloaded from TD site.
- The base image I am using is amancevice/superset:latest
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|