-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed Superset 4.1.0 and trying to create Database Connection for Apache Druid(27.0.0) #32266
Comments
The error you're encountering, To connect Apache Superset to Apache Druid, ensure that you are using the correct connection string format with the
Make sure that the username, password, host, and port are correctly specified. Additionally, you can customize the connection by adding certificates in the Root Certificate field or by disabling SSL verification using the Extras field with the following configuration: engine_params: {
"connect_args": {
"scheme": "https",
"ssl_verify_cert": false
}
} This setup should help in configuring your Druid database within Superset [2]. If the connection works with a basic Python script but not within Superset, it might be worth checking the Superset logs for more detailed error messages. Also, ensure that the PyDruid version is compatible with Superset 4.1.0, which should be version 0.6.9 [3]. If these steps do not resolve the issue, consider reviewing the Superset logs for any additional error messages that might provide more insight into the problem. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Pinging the Druid folks from the Rolodex: |
Any help or suggestion here please. |
@laxmikantbpandhare , are you using https url for Druid ? can you share the connection string by masking host address and user credentials ? |
@sujiplr we are using https only Please find below Druid link we are trying druid://admin_User_ID:admin_password@server_router:9088/druid/v2/sql Let me know if anything else is required. |
@laxmikantbpandhare try connection string as below. druid+https://admin_User_ID:admin_password@server_router:443/druid/v2/sql |
@sujiplr - I tried as mentioned above but it still failed with same error. |
@laxmikantbpandhare does your druid deployment on https has valid ssl certificate installed ? Does it have SSL error when you try from browser? |
@sujiplr Druid is up and running with valid certificates. I tested both the strings and it worked with below python code engine = create_engine(druid_uri) try: So, Druid is working. |
Bug description
Hi Team,
We are facing the below error while connecting to Apache Druid from the Superset Database connections option on UI.
We manually tried a basic Python script for connection for Druid UI from the Superset server and "Connection is successful" indicates the Druid URL is working.
Is there any issue with the newer version of the superset? Appreciate your help and support.
For your information, below are the installed versions
Apache Superset 4.1.0
Apache Druid 27.0.0
Python 3.9
PyDruid 0.6.9
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: