-
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
SSH_TUNNELING is not shown in UI for clickhouse-connect #28114
Comments
I don't have a direct answer, but can point to the base package and class for everything database-engine-specific, and what seem to be a relevant property (disable_ssh_tunneling) -> https://github.com/apache/superset/blob/master/superset/db_engine_specs/base.py#L213 Seems at least related to your issue but I haven't worked on this feature so I can't tell for sure. |
The SSH option only shows up if the engine has the "ssh" to base, it was still missing from the clickhouse engine: superset/superset/db_engine_specs/clickhouse.py Lines 199 to 221 in 422a07b
Adding it there was enough to make it work for us, I opened a pull request with the changes: #32348 |
Bug description
When I select clickhouse database drive, there is no switch to turn on SSH tunneling. While if I select standard DB, it's present.
How to reproduce the bug
Go to settings - database connections.
Click new.
Select clickhouse in supported databases.
There will be no ssh_tunneling toggle.
Screenshots/recordings
No response
Superset version
4.0.0
Python version
Not applicable
Node version
Not applicable
Browser
Chrome
Additional context
I run in k8s with latest helm chart and 4.0.0 version
Checklist
The text was updated successfully, but these errors were encountered: