You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2015/11/20 10:19:10 UTC

[jira] [Assigned] (ATLAS-220) Gets on Enum attribute should return EnumValue

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

Hemanth Yamijala reassigned ATLAS-220:
--------------------------------------

    Assignee: Hemanth Yamijala

> 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
>
>         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)