You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2025/02/26 05:01:00 UTC
[jira] [Resolved] (IMPALA-13758) Use context manager in ImpalaTestSuite.change_database
[ https://issues.apache.org/jira/browse/IMPALA-13758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Riza Suminto resolved IMPALA-13758.
-----------------------------------
Fix Version/s: Impala 4.6.0
Resolution: Fixed
> Use context manager in ImpalaTestSuite.change_database
> ------------------------------------------------------
>
> Key: IMPALA-13758
> URL: https://issues.apache.org/jira/browse/IMPALA-13758
> Project: IMPALA
> Issue Type: Improvement
> Reporter: Riza Suminto
> Assignee: Riza Suminto
> Priority: Major
> Fix For: Impala 4.6.0
>
>
> ImpalaTestSuite.change_database is responsible to point impala client to database under test. However, it leaves client pointing to that database after the test without reverting the client back to default database. We can do the reversal by changing ImpalaTestSuite.change_database to use context manager.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)