Issues to execute queries via SQL Lab #26784
Unanswered
sprudel79
asked this question in
Q&A / Help
Replies: 2 comments 8 replies
-
@sprudel79 Did you find any way around this? We're experiencing the same problem but with Snowflake as data source. We've got the same error message as in the original post but have gotten this one as well: which seem to be related to Redis? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Make sure your |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I have a K8s cluster where I have installed the latest helm chart of superset from http://apache.github.io/superset/ (which is 3.1.0).
I need to access several MS SQL databases in my dashboards. For the creation of the database connections I use this kind of syntax for the SQLAlchemy uri: "mssql+pymssql://:@:/
When clicking the "Test connection" button, I get informed that everything's fine.
Now to the issue:
Next thing is to go to the SQL Lab to verify the DB connections. I can browse the available ones in the "DATABASE" drop-down, I am able to see the correct "SCHEMA" options as well as the "TABLE SCHEMA" options. SQL Lab shows also nicely all the available columns, so in my opinion the DB connection settings should be fine.
However, when I try to execute a query (I tried even with a super simple one like "SELECT 1 AS A") I always get the error:
Microsoft SQL Server Error
Authentication required.
This may be triggered by:
Issue 1002 - The database returned an unexpected error.
In the logs of the superset pod I can see this:
But now again another weird thing is that I can use the same DB connection without any problem in a chart, so it seems only SQL Lab has issues. Is there anything I did wrong?
I am aware that the error is described over here:
https://superset.apache.org/docs/miscellaneous/issue-codes/#issue-1002
But I have my doubts there's a problem with the DB itself since the connection works in general and even in the charts.
Many thanks in advance and kind regards,
Sprudel
Beta Was this translation helpful? Give feedback.
All reactions