You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/06/04 20:57:20 UTC

[jira] [Resolved] (HIVE-4655) Vectorization not working with negative constants, hive doesn't fold constants.

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

Ashutosh Chauhan resolved HIVE-4655.
------------------------------------

       Resolution: Fixed
    Fix Version/s: vectorization-branch

Committed to branch. Thanks, Jitendra!
                
> Vectorization not working with negative constants, hive doesn't fold constants.
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-4655
>                 URL: https://issues.apache.org/jira/browse/HIVE-4655
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>             Fix For: vectorization-branch
>
>         Attachments: HIVE-4655.1.patch
>
>
>   Hive optimizer doesn't fold the constants, however vectorized code path assumes that constants have been folded. This should be fixed in hive optimizer. 
>   In this jira we just fix vectorization path to handle folding for negative constants. This is needed because hive plan treats negative constants as unary-minus expression on constants, therefore these expressions also need constant folding.
> This fix will become redundant once constant folding is appropriately implemented in hive optimizer. (HIVE-746)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira