You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Umesh Padashetty (Jira)" <ji...@apache.org> on 2020/03/26 13:11:00 UTC

[jira] [Created] (ATLAS-3692) [Business Metadata] Incorrect values for long data type being stored

Umesh Padashetty created ATLAS-3692:
---------------------------------------

             Summary: [Business Metadata] Incorrect values for long data type being stored 
                 Key: ATLAS-3692
                 URL: https://issues.apache.org/jira/browse/ATLAS-3692
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
            Reporter: Umesh Padashetty
         Attachments: long issue.mov

While assigning very long values to the business metadata attribute, the values are being stored incorrectly. For instance, the range of long data type in java is +9223372036854775807 to -9223372036854775808. But the following issues are being observed 
 # When you give the value as +9223372036854775807 it is being stored as +9223372036854776000
 # When you give the value as -9223372036854775808 it is being stored as -9223372036854776000
 # Once the value gets stored as 9223372036854776000, any further save on the attribute values keeps throwing out of range exception. This is weird, because the value is still saved as 9223372036854776000, but UI keeps complaining

Attached is the video



--
This message was sent by Atlassian Jira
(v8.3.4#803005)