[
https://issues.apache.org/jira/browse/IMPALA-14039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951976#comment-17951976
]
ASF subversion and git services commented on IMPALA-14039:
----------------------------------------------------------
Commit 3593a47a7150dcf1bfa5348fc6f785d14e482642 in impala's branch
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3593a47a7 ]
IMPALA-14060: Remove ImpalaConnection.get_default_configuration()
This patch remove ImpalaConnection.get_default_configuration() after
refactoring done in IMPALA-14039.
Testing:
Run and pass test_queries.py::TestQueries.
Change-Id: Idf2a3a5b7b427a46ddd288bb7fbb16ba2803735d
Reviewed-on: http://gerrit.cloudera.org:8080/22903
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> __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
> Assignee: Riza Suminto
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]