huw0 opened a new issue, #24175: URL: https://github.com/apache/superset/issues/24175
#### How to reproduce the bug 1. Connect to an Impala datasource with impersonation enabled 2. Run a query in SQL Lab and observe that `SELECT effective_user(), user() FROM...` shows that no impersonation is taking place ### Expected results `effective_user()` - should be the username of the delegated / logged in user `user()` - should the the username used for the Impala connection ### Actual results `effective_user()` and `user()` return the same value ### Environment * Superset 2.1.0 (official Docker image) * Impyla 0.18.0 ### Additional context Looking at the code, I don't think this is presently expected to work? `db_engine_specs/hive.py` implements `update_impersonation_config` whereas `impala.py` does not. Hive impersonation works at the connection level whereas Impala works at the cursor level. Previous PR (apache/superset#4699) was started on this feature but not completed. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
