hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11432) Hive macro give same result for different arguments
Date Sun, 02 Aug 2015 04:17:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650593#comment-14650593
] 

Hive QA commented on HIVE-11432:
--------------------------------



{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/12748337/HIVE-11432.01.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9305 tests executed
*Failed tests:*
{noformat}
TestCliDriver-udf_md5.q-join18.q-union11.q-and-12-more - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_convert_enum_to_string
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_dynamic_rdd_cache
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_index_auto_mult_tables
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4789/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4789/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4789/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12748337 - PreCommit-HIVE-TRUNK-Build

> Hive macro give same result for different arguments
> ---------------------------------------------------
>
>                 Key: HIVE-11432
>                 URL: https://issues.apache.org/jira/browse/HIVE-11432
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jay Pandya
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-11432.01.patch
>
>
> If you use hive macro more than once while processing same row, hive returns same result
for all invocations even if the argument are different. 
> Example : 
> > CREATE  TABLE macro_testing(
>   a int,
>   b int,
>   c int)
> > select * from macro_testing;
> 1	2	3
> 4	5	6
> 7	8	9
> 10	11	12
> > create temporary macro math_square(x int)
>    x*x;
> > select math_square(a), b, math_square(c)  from macro_testing;
> 9	2	9
> 36	5	36
> 81	8	81
> 144	11	144



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message