Description
There are some tests that have side-effects during test execution.
E.g. they set query options on the Impala client of the test suite:
self.execute_query("SET RUNTIME_FILTER_MODE=GLOBAL")
https://github.com/apache/impala/blob/8e350d0a8a7c95810c7704c8a5264a60daed783d/tests/query_test/test_runtime_filters.py#L138
Tests shouldn't have such side-effects. Instead of setting a query option for the impala client of the whole test suite, they should create a private client for them. Or modify the test vector's 'exec_option' if possible.