[ https://issues.apache.org/jira/browse/ATLAS-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277087#comment-15277087 ]
Suma Shivaprasad commented on ATLAS-754: ---------------------------------------- +1 > InstanceSerialization does not serialize Reference in the values array of > Reference. > ------------------------------------------------------------------------------------ > > Key: ATLAS-754 > URL: https://issues.apache.org/jira/browse/ATLAS-754 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.7-incubating > Reporter: Harish Jaiprakash > Assignee: Harish Jaiprakash > Fix For: 0.7-incubating > > Attachments: 754.patch > > > If the values array contains a reference then the deserialization from Json > makes it null. > Ex: > {noformat} > { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "id": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "version": 0, > "typeName": "LoadProcess" > }, > "typeName": "LoadProcess", > "values": { > "inputTables": [{ > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference", > "typeName": "LoadProcess", > "values": {} > "traitNames": [] > "traits": {} > } > ], > "outputTable": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Id", > "id": "d5c3d6d0-aa10-44c1-b05d-ed9400d2a5ac", > "version": 0, > "typeName": "Table" > }, > "name": "loadSalesDaily" > }, > "traitNames": [ > "ETL" > ], > "traits": { > "ETL": { > "jsonClass": > "org.apache.atlas.typesystem.json.InstanceSerialization$_Struct", > "typeName": "ETL", > "values": { > } > } > } > } > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)