[ https://issues.apache.org/jira/browse/IMPALA-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Brown resolved IMPALA-5986. ----------------------------------- Resolution: Fixed Fix Version/s: Impala 2.11.0 {noformat} commit 1969c56c2fba248794d4d52eae4410998afa0709 Author: Tim Wood <tw...@cloudera.com> Date: Thu Sep 28 10:44:23 2017 -0700 IMPALA-5986: Correct set-option logic to recognize digits in names. Arose during work for IMPALA-5376; prevents tests from passing consistently. Change-Id: Ia3ba641553ff827dbd4673b9fe7ed7d9d5e83052 Reviewed-on: http://gerrit.cloudera.org:8080/8166 Reviewed-by: Michael Brown <mi...@cloudera.com> Tested-by: Impala Public Jenkins {noformat} > Impala test suite harness fails to reset some options in SQL sessions > --------------------------------------------------------------------- > > Key: IMPALA-5986 > URL: https://issues.apache.org/jira/browse/IMPALA-5986 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 2.9.0, Impala 2.10.0, Impala 2.11.0 > Reporter: Tim Wood > Assignee: Tim Wood > Fix For: Impala 2.11.0 > > > This bug arose while characterizing TPC-DS tests that flap. > Runs of the full TPC-DS suite display results for various tests that > variously fail or succeed in absence of code or environment changes. All > failures are connected with displays of the scale of decimal values. Some > tests contain SET DECIMAL_V2=1; statements. I theorized that this option was > getting left on in SQL connections and exposed to subsequent tests. > The main test suite driver file, > $IMPALA_HOME/tests/common/impala_test_suite.py, contains logic to reset > options in the SQL session between tests, however its regex to detect these > statements fails for statements that contain digits (SET_PATTERN = > re.compile(...)). -- This message was sent by Atlassian JIRA (v6.4.14#64029)