FGrobelny opened a new pull request, #25872:
URL: https://github.com/apache/superset/pull/25872
### SUMMARY
`impersonate_user` flag allows for user impersonation when connecting to
trino using kerberos. Currently it cannot be imported.
### TESTING INSTRUCTIONS
1. Create trino_from_ui connection using UI, check "impersonate user" box.
2. Create trino_from_code connection file
```
import_datasources.yaml: |
databases:
- database_name: Trino
sqlalchemy_uri: <url>
cache_timeout: null
expose_in_sqllab: true
allow_run_async: true
allow_ctas: true
allow_cvas: true
allow_dml: true
allow_csv_upload: true
impersonate_user: true
extra: "<extra>"
encrypted_extra: "<encrypted_extra>"
```
4. Import datasources using `superset import_datasources -p
import_datasources.yaml`
5. Check in database if impersonate_user = "t" in "dbs" table for both
connections.
--
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]