You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/07/25 02:15:48 UTC

[jira] [Created] (HIVE-4929) the type of all numeric constants is changed to double in the plan

Sergey Shelukhin created HIVE-4929:
--------------------------------------

             Summary: the type of all numeric constants is changed to double in the plan
                 Key: HIVE-4929
                 URL: https://issues.apache.org/jira/browse/HIVE-4929
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin
            Assignee: Sergey Shelukhin


There's code which, after the numeric type for a constant in where clause has been chosen as the most restricted one or based on suffix, tries to change the type to match the numeric column  which the constant is being compared with. However, due to a hack from HIVE-3059 every column type shows up as string in that code, causing it to always change the constant type to double. This should not be done (regardless of the hack).
Spinoff from HIVE-2702, large number of query outputs change so it will be a big patch

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