ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13938) Select on large BIGINT in Ambari Hive View returns incorrect value
Date Wed, 18 Nov 2015 10:21:10 GMT

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

Nitiraj Singh Rathore commented on AMBARI-13938:
------------------------------------------------

Sorry typo, I mean, Now all the data sent will be strings instead of numbers.

> Select on large BIGINT in Ambari Hive View returns incorrect value
> ------------------------------------------------------------------
>
>                 Key: AMBARI-13938
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13938
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.2
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13938_branch-2.1.patch
>
>
> PROBLEM: Selecting on large values for a bigint column, the value is rounded.
> STEPS TO REPRODUCE: 
> From the CLI:
> create table test (col1 bigint);
> insert into test values (59917352285401088);
> select * from test;
> 59917352285401088
> In Ambari View:
> select * from test;
> 59917352285401090;
> EXPECTED RESULT: 
> Ambari view should return 59917352285401088. This is well within the scope of a bigint.
> ACTUAL RESULT: 
> Selected value is rounded.



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

Mime
View raw message