You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2025/04/21 13:55:00 UTC

[jira] [Resolved] (IMPALA-13967) Move away from setting user parameter in ImpalaConnection.execute

     [ https://issues.apache.org/jira/browse/IMPALA-13967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Riza Suminto resolved IMPALA-13967.
-----------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> Move away from setting user parameter in ImpalaConnection.execute
> -----------------------------------------------------------------
>
>                 Key: IMPALA-13967
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13967
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> ImpalaConnection.execute and ImpalaConnection.execute_async has 'user' parameter to set specific user to run the query. This is mainly legacy of BeeswaxConnection, which allows using 1 client to specify different usernames.
> BeeswaxConnection and ImpylaHS2Connection actually allows specifying one user per client. Doing so will simplify user-specific test such as test_ranger.py that often instantiate separate clients for admin user and regular user.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org