atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harish Jaiprakash (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-754) InstanceSerialization does not serialize Reference in the values array of Reference.
Date Fri, 06 May 2016 07:42:12 GMT
Harish Jaiprakash created ATLAS-754:
---------------------------------------

             Summary: 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


If the values array contains a reference then the deserialization from Json makes it null.

Ex:

{
      "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": {
              }
          }
        }
      }



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

Mime
View raw message