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

Xuefu Zhang commented on HIVE-8745:
-----------------------------------

{quote}
The other option would be to pad all values to the column spec and make sure we 
compute the spec as the max for the join keys. I'm not sure why you were 
against that in the first place
{quote}
I'm not sure what this refers to. Nevertheless, I think the serde should be 
able to trim the zeros and pad it back as long as it has the right metadata. It 
seems it does have the metadata for each colomns.



> Joins on decimal keys return different results whether they are run as reduce 
> join or map join
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-8745
>                 URL: https://issues.apache.org/jira/browse/HIVE-8745
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Gunther Hagleitner
>            Assignee: Jason Dere
>            Priority: Critical
>             Fix For: 0.14.0
>
>         Attachments: join_test.q
>
>
> See attached .q file to reproduce. The difference seems to be whether 
> trailing 0s are considered the same value or not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to