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

Some regex make the tests unconditionally pass

    XMLWordPrintableJSON

Details

    • ghx-label-8

    Description

      This issue came out in the Iceberg metadata table tests where this regex was used:

      [1-9]\d*|0

       

      The "|0" part for some reason made the test framework confused and then regardless of what you provide as an expected result the tests passed. One workaround was to put the regex expression between parentheses. Or simply use "d+". https://issues.apache.org/jira/browse/IMPALA-13055 applied this second workaround on the tests.

      Some analysis would be great why this is the behavior of the test framework, and if it's indeed the issue of the framnework, we should fix it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaborkaszab Gabor Kaszab
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: