hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8492) Enhance Constant Folding to propagate constants for simple expressions
Date Mon, 20 Oct 2014 22:46:35 GMT

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

Ashutosh Chauhan commented on HIVE-8492:
----------------------------------------

Committed to 0.14

> Enhance Constant Folding to propagate constants for simple expressions 
> -----------------------------------------------------------------------
>
>                 Key: HIVE-8492
>                 URL: https://issues.apache.org/jira/browse/HIVE-8492
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logical Optimizer
>    Affects Versions: 0.14.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8492.1.patch, HIVE-8492.patch
>
>
> currently it propagates only for projects, can be enhanced to propagate for simple expressions
like casts, e.g,
> {code}
> SELECT src1.key, src1.key + 1, src2.value FROM src src1 join src src2 ON src1.key = src2.key
AND cast(src1.key as double) = 86; 
> {code}



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

Mime
View raw message