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/13 19:20:00 UTC

[jira] [Created] (IMPALA-13758) Use context manager in ImpalaTestSuite.change_database

Riza Suminto created IMPALA-13758:
-------------------------------------

             Summary: 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


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)