You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nitiraj Singh Rathore (JIRA)" <ji...@apache.org> on 2015/11/18 10:57:10 UTC

[jira] [Created] (AMBARI-13938) Select on large BIGINT in Ambari Hive View returns incorrect value

Nitiraj Singh Rathore created AMBARI-13938:
----------------------------------------------

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


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)