[ 
https://issues.apache.org/jira/browse/ATLAS-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Mestry resolved ATLAS-3032.
------------------------------------
    Resolution: Fixed

Fixed by: https://issues.apache.org/jira/browse/ATLAS-1876

> Importing an entity with tag attribute of type float data type fails with an 
> BigDecimal Exception
> -------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3032
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3032
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Kapildeo Nayak
>            Assignee: Ashutosh Mestry
>            Priority: Critical
>         Attachments: ATLAS-3032.patch
>
>
> # In source cluster , created a tag with float attribute.
>  2. Created an hive_db and associated the tag to the hive_db with value 
> "-3.4028235E+38"
>  3. On importing the exported hive_db entity, exception is seen and import 
> fails.
> Following stack trace is generated:
> {code:java}
> org.apache.atlas.repository.graphdb.AtlasSchemaViolationException: 
> com.thinkaurelius.titan.core.SchemaViolationException: Value [-3.4028235E+38] 
> is not an instance of the expected data type for property key 
> [tag_float.float] and cannot be converted. Expected: class java.lang.Float, 
> found: class java.math.BigDecimal{code}
>  



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

Reply via email to