Gabor Kaszab created IMPALA-13067:
-------------------------------------

             Summary: Some regex make the tests unconditionally pass
                 Key: IMPALA-13067
                 URL: https://issues.apache.org/jira/browse/IMPALA-13067
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
            Reporter: Gabor Kaszab


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to