Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5986

Impala test suite harness fails to reset some options in SQL sessions

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.9.0, Impala 2.10.0, Impala 2.11.0
    • Impala 2.11.0
    • Infrastructure
    • None
    • ghx-label-7

    Description

      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(...)).

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            twood@cloudera.com Tim Wood
            twood@cloudera.com Tim Wood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment