Jitendra Nath Pandey created HIVE-4655:
------------------------------------------

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


  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