You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2019/02/27 18:58:00 UTC
[jira] [Commented] (ATLAS-3032) Importing an entity with tag
attribute of type float data type fails with an BigDecimal Exception
[ https://issues.apache.org/jira/browse/ATLAS-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779653#comment-16779653 ]
Madhan Neethiraj commented on ATLAS-3032:
-----------------------------------------
[~ashutoshm], [~kapildeo] - this looks similar to ATLAS-1876, which was already fixed in 0.8.2 and 1.0.0.
> 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
> 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
(v7.6.3#76005)