You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "arrowcircle (via GitHub)" <gi...@apache.org> on 2024/04/17 22:17:32 UTC
[I] SSH_TUNNELING is not shown in UI for clickhouse-connect [superset]
arrowcircle opened a new issue, #28114:
URL: https://github.com/apache/superset/issues/28114
### 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
- [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] SSH_TUNNELING is not shown in UI for clickhouse-connect [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #28114:
URL: https://github.com/apache/superset/issues/28114#issuecomment-2062615778
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] SSH_TUNNELING is not shown in UI for clickhouse-connect [superset]
Posted by "maybedino (via GitHub)" <gi...@apache.org>.
maybedino commented on issue #28114:
URL: https://github.com/apache/superset/issues/28114#issuecomment-2675299913
The SSH option only shows up if the engine has the "ssh" to base, it was still missing from the clickhouse engine:
https://github.com/apache/superset/blob/422a07b3825bd675deb540f652dd3aa3a8737eac/superset/db_engine_specs/clickhouse.py#L199-L221
Adding it there was enough to make it work for us, I opened a pull request with the changes: https://github.com/apache/superset/pull/32348
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] SSH_TUNNELING is not shown in UI for clickhouse-connect [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch closed issue #28114: SSH_TUNNELING is not shown in UI for clickhouse-connect
URL: https://github.com/apache/superset/issues/28114
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org