atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-220) Gets on Enum attribute should return EnumValue
Date Tue, 24 Nov 2015 13:16:11 GMT

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

Suma Shivaprasad commented on ATLAS-220:
----------------------------------------

+1.

> Gets on Enum attribute should return EnumValue
> ----------------------------------------------
>
>                 Key: ATLAS-220
>                 URL: https://issues.apache.org/jira/browse/ATLAS-220
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Suma Shivaprasad
>            Assignee: Hemanth Yamijala
>         Attachments: ATLAS-220.patch
>
>
>         Referenceable tableDefinition = InstanceSerialization.fromJsonReferenceable(tableDefinitionJson,
true);
>         EnumValue enumStr = (EnumValue) tableDefinition.get("tableType");
> The cast fails with
> {noformat}
> java.lang.ClassCastException: scala.collection.convert.Wrappers$MapWrapper cannot be
cast to org.apache.atlas.typesystem.types.EnumValue
> 	at org.apache.atlas.service.DefaultMetadataServiceTest.testUpdateEnums(DefaultMetadataServiceTest.java:172)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message