You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2019/05/10 03:59:00 UTC
[jira] [Assigned] (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:all-tabpanel ]
Ashutosh Mestry reassigned ATLAS-3032:
--------------------------------------
Assignee: Ashutosh Mestry
> 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
(v7.6.3#76005)