[ https://issues.apache.org/jira/browse/HIVE-9690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321788#comment-14321788 ]
Hive QA commented on HIVE-9690: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12698942/HIVE-9690.2.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 7551 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_invalid_arithmetic_type {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2804/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2804/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2804/ Messages: {noformat} 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12698942 - PreCommit-HIVE-TRUNK-Build > Refactoring for non-numeric arithmetic operations > ------------------------------------------------- > > Key: HIVE-9690 > URL: https://issues.apache.org/jira/browse/HIVE-9690 > Project: Hive > Issue Type: Bug > Components: UDF > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-9690.1.patch, HIVE-9690.2.patch > > > Some refactoring for HIVE-5021. The current arithmetic UDFs are specialized > for numeric types, and trying to change the logic in the existing UDFs looks > a bit complicated. A less intrusive fix would be to create the > date-time/interval arithmetic UDFs as a separate UDF class, and to make the > plus/minus UDFs act as a wrapper which would invoke the numeric or interval > arithmetic UDF depending on the args. -- This message was sent by Atlassian JIRA (v6.3.4#6332)