[
https://issues.apache.org/jira/browse/HIVE-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-4929:
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks, Sergey!
> 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
> Fix For: 0.12.0
>
> Attachments: HIVE-4929.patch
>
>
> 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