You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Keval Bhatt (Jira)" <ji...@apache.org> on 2020/10/08 10:06:00 UTC

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

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

Keval Bhatt commented on ATLAS-3692:
------------------------------------

The issue is fixed by ATLAS-3964.

> [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
>            Assignee: Keval Bhatt
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>         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)