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

Jitendra Nath Pandey commented on HIVE-4655:
--------------------------------------------

Review board entry.
https://reviews.apache.org/r/11634/
                
> 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

Reply via email to