[ https://issues.apache.org/jira/browse/HIVE-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047548#comment-14047548 ]
Hive QA commented on HIVE-7314: ------------------------------- {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/12653121/HIVE-7314.1.patch.txt {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5670 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/632/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/632/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-632/ 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: 12653121 > Wrong results of UDF when hive.cache.expr.evaluation is set > ----------------------------------------------------------- > > Key: HIVE-7314 > URL: https://issues.apache.org/jira/browse/HIVE-7314 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0, 0.13.0, 0.13.1 > Reporter: dima machlin > Assignee: Navis > Attachments: HIVE-7314.1.patch.txt > > > It seems that the expression caching doesn't work when using UDF inside > another UDF or a hive function. > For example : > tbl has one row : 'a','b' > The following query : > {code:sql} select concat(custUDF(a),' ', custUDF(b)) from tbl; {code} > returns 'a a' > seems to cache custUDF(a) and use it for custUDF(b). > Same query without the concat works fine. > Replacing the concat with another custom UDF also returns 'a a' -- This message was sent by Atlassian JIRA (v6.2#6252)