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-11397) Parse Hive OR clauses as they are written into the AST
Date Sat, 08 Aug 2015 23:22:45 GMT

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

Hive QA commented on HIVE-11397:
--------------------------------



{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/12749239/HIVE-11397.2.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9342 tests executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler
{noformat}

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

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: 12749239 - PreCommit-HIVE-TRUNK-Build

> Parse Hive OR clauses as they are written into the AST
> ------------------------------------------------------
>
>                 Key: HIVE-11397
>                 URL: https://issues.apache.org/jira/browse/HIVE-11397
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Gopal V
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-11397.1.patch, HIVE-11397.2.patch, HIVE-11397.2.patch, HIVE-11397.patch
>
>
> When parsing A OR B OR C, hive converts it into 
> (C OR B) OR A
> instead of turning it into
> A OR (B OR C)
> {code}
>         GenericUDFOPOr or = new GenericUDFOPOr();
>         List<ExprNodeDesc> expressions = new ArrayList<ExprNodeDesc>(2);
>         expressions.add(previous);
>         expressions.add(current);
> {code}



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

Mime
View raw message