Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22862 )
Change subject: IMPALA-14039: __restore_query_options should unset query option ...................................................................... IMPALA-14039: __restore_query_options should unset query option ImpalaTestSuite.__restore_query_options() attempt to restore client's configuration with what it understand as the "default" query option. 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 SET query like this: SET query_option=""; This patch also change execute_query_using_vector() to simply unset client's configuration. Follow up cleanup will be tracked through IMPALA-14060. Testing: Run and pass test_queries.py::TestQueries. Change-Id: I884986b9ecbcabf0b34a7346220e6ea4142ca923 Reviewed-on: http://gerrit.cloudera.org:8080/22862 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Reviewed-by: Jason Fehr <jf...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M tests/common/impala_connection.py M tests/common/impala_test_suite.py 2 files changed, 10 insertions(+), 28 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified Jason Fehr: Looks good to me, but someone else must approve -- To view, visit http://gerrit.cloudera.org:8080/22862 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I884986b9ecbcabf0b34a7346220e6ea4142ca923 Gerrit-Change-Number: 22862 Gerrit-PatchSet: 9 Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Fang-Yu Rao <fangyu....@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>