Riza Suminto created IMPALA-14039:
-------------------------------------

             Summary: __restore_query_options should simply unset query option
                 Key: IMPALA-14039
                 URL: https://issues.apache.org/jira/browse/IMPALA-14039
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure, Test
            Reporter: Riza Suminto


ImpalaTestSuite.__restore_query_options() attempt to restore client's 
configuration with what it understand as the "default" query option.

[https://github.com/apache/impala/blob/cb496104d98e8cbd87acf25277f2648cffaac42a/tests/common/impala_test_suite.py#L546-L570]

Since IMPALA-13930, ImpalaConnection.get_default_configuration() parse the 
default query option from TQueryOption fields. Therefore, it might not respect 
server's default that comes from --default_query_options flag.

ImpalaTestSuite.__restore_query_options() should simply unset any configuration 
that previously set by running query:
{code:java}
SET query_option="";
{code}



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

Reply via email to