You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Fei Hui (JIRA)" <ji...@apache.org> on 2017/06/06 13:39:19 UTC
[jira] [Assigned] (HIVE-1627) Hive Join returns incorrect results
if the join is (bigint = string)
[ https://issues.apache.org/jira/browse/HIVE-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fei Hui reassigned HIVE-1627:
-----------------------------
Assignee: Fei Hui
> Hive Join returns incorrect results if the join is (bigint = string)
> --------------------------------------------------------------------
>
> Key: HIVE-1627
> URL: https://issues.apache.org/jira/browse/HIVE-1627
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.5.0
> Reporter: Abhinav Gupta
> Assignee: Fei Hui
>
> I was running a query joining on bigint column with string column.
> And, result was incorrect because only "16 bytes seemed to be compared". The length of value more than 16 bytes when represented as base-10.
> The problem was fixed once I changed the join to (bigint = cast (string as bigint))
> Is the bug because of type conversion on join keys?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)