You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Suma Shivaprasad (JIRA)" <ji...@apache.org> on 2015/10/12 20:20:05 UTC
[jira] [Created] (ATLAS-220) gets on Enum attribute should return
EnumValue
Suma Shivaprasad created ATLAS-220:
--------------------------------------
Summary: 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
Referenceable tableDefinition = InstanceSerialization.fromJsonReferenceable(tableDefinitionJson, true);
EnumValue enumStr = (EnumValue) tableDefinition.get("tableType");
The cast fails with
{noformat}
String tableDefinitionJson =
metadataService.getEntityDefinition(TestUtils.TABLE_TYPE, "name", (String) table.get("name"));
Referenceable tableDefinition = InstanceSerialization.fromJsonReferenceable(tableDefinitionJson, true);
EnumValue enumStr = (EnumValue) tableDefinition.get("tableType");
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)