[ https://issues.apache.org/jira/browse/HIVE-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010834#comment-15010834 ]
Hive QA commented on HIVE-12417: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12772689/HIVE-12417.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9812 tests executed *Failed tests:* {noformat} TestHWISessionManager - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_explainuser_3 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6064/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6064/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6064/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12772689 - PreCommit-HIVE-TRUNK-Build > Support for exclamation mark missing in regexp > ---------------------------------------------- > > Key: HIVE-12417 > URL: https://issues.apache.org/jira/browse/HIVE-12417 > Project: Hive > Issue Type: Bug > Affects Versions: 1.2.1 > Reporter: Olaf Flebbe > Assignee: Olaf Flebbe > Attachments: HIVE-12417.1.patch, HIVE-12417.2.patch > > > with HIVE-6013 gets support for regular expressions. However, die ! character > is valid, too. It is needed for expressions like > {code} > set hive.support.quoted.identifiers = none; > select `^(?!donotuseme).*$` from table; > {code} > which is the idiom to select all but column {{donotuseme}} . > See http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html for > a reference of supported chars in Java regexp. > The patch simply fixes the lexer to support '!' as REGEX char. And does > simply work. > Please review. > If you like to have an iTest for it, I beg you to help me. I tried several > days on a different issue to figure out how it is supposed to work and failed > miserably. -- This message was sent by Atlassian JIRA (v6.3.4#6332)