atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-2346) dataTypeName field missing in AttributeDefinition returned by V1 REST API
Date Sat, 06 Jan 2018 07:01:12 GMT

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

Madhan Neethiraj updated ATLAS-2346:
------------------------------------
    Reporter: Sharmadha Sainath  (was: Madhan Neethiraj)

> dataTypeName field missing in AttributeDefinition returned by V1 REST API
> -------------------------------------------------------------------------
>
>                 Key: ATLAS-2346
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2346
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Sharmadha Sainath
>            Assignee: Madhan Neethiraj
>
> Type information returned by api/atlas/types/hive_table doesn't include field dataTypeName
in AttributeDefinition, as shown below:
> {noformat}
> curl -f -X GET -u username:password -H Accept: application/json -H Content-Type: application/json
http://atlas-host:21000/api/atlas/types/hive_table
> {noformat}
> {noformat}
> {
>   "requestId": "pool-2-thread-10 - e9419c0f-6fc1-4df3-8a40-c6c882ce63d7",
>   "typeName": "hive_table",
>   "definition": {
>     "classTypes": [
>       {
>         "attributeDefinitions": [
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "db"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "createTime"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "lastAccessTime"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "comment"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "retention"
>           },
>           {
>             "isComposite": true,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "sd"
>           },
>           {
>             "isComposite": true,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "partitionKeys"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "aliases"
>           },
>           {
>             "isComposite": true,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "columns"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "parameters"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "viewOriginalText"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "viewExpandedText"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": false,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "tableType"
>           },
>           {
>             "isComposite": false,
>             "isIndexable": true,
>             "isUnique": false,
>             "multiplicity": "required",
>             "name": "temporary"
>           }
>         ],
>         "hierarchicalMetaTypeName": "org.apache.atlas.typesystem.types.ClassType",
>         "superTypes": [
>           "DataSet"
>         ],
>         "typeDescription": "hive_table",
>         "typeName": "hive_table",
>         "typeVersion": "1.1"
>       }
>     ],
>     "enumTypes": null,
>     "structTypes": null,
>     "traitTypes": null
>   }
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message