hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-11397) Parse Hive OR clauses as they are written into the AST
Date Wed, 29 Jul 2015 21:22:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-11397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gunther Hagleitner updated HIVE-11397:
--------------------------------------
    Assignee: Jesus Camacho Rodriguez

> 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
>
> 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