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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13675100#comment-13675100 ] 

Eric Hanson commented on HIVE-4655:
-----------------------------------

Can you put this on review board please? 
                
> 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
>         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