DRavikanth edited a comment on pull request #13214:
URL: https://github.com/apache/superset/pull/13214#issuecomment-831457448
@rijojoseph07, I have upgraded to superset v1.1.0 & updated my connection
settings & have corresponding impersonation settings in Presto as well.
However, when clicking _**Impersonate logged in User button**_ on the database
settings it throws an exception on the UI and nothing is visible in the backend
logs. Details below:
1. Upgraded to v1.1.0
2. Presto 341 with impersonation rules as follows:
`"impersonation": [
{
"originalUser": "admin",
"newUser": ".*"
}
],
`
Above means any user can be impersonated by admin user
3. Removed username/password from DB Connection string
4. Updated Extra as follows:
`
"connect_args": {
"protocol": "https",
"username":"admin",
"password":"adminPwd",
"session_props": {
"omit_datetime_type_precision": true
}
`
5. Check **_Impersonate Logged In User (Presto & Hive)_**
6. Click on Save. UI throws following exception:
> An error occurred while fetching databases: "Connection failed, please
check your connection settings"
This is very useful feature which I have been waiting for a long time. Any
help in debugging this further will be of great help. Also, please let me know
if you need any further information to understand the problem.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]