DRavikanth commented 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 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]

Reply via email to