You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "pratik pandey (JIRA)" <ji...@apache.org> on 2018/04/17 07:56:00 UTC

[jira] [Commented] (ATLAS-2567) Classification list missing in DSL search result.

    [ https://issues.apache.org/jira/browse/ATLAS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16440555#comment-16440555 ] 

pratik pandey commented on ATLAS-2567:
--------------------------------------

[~grahamwallis]  I have updated the description and title. sorry for the ambiguity.

> Classification list missing in DSL search result.
> -------------------------------------------------
>
>                 Key: ATLAS-2567
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2567
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: pratik pandey
>            Assignee: Madhan Neethiraj
>            Priority: Major
>
> DSL search result doesn't have classifications list which is needed for UI to differentiate between the propagated tag and self-associated tag.
> Please find API response for DSL & BASIC search.
> DSL:
>  
> {code:java}
> {
>  "queryType": "DSL",
>  "queryText": "`Table` ",
>  "entities": [
>  {
>  "typeName": "Table",
>  "attributes":
>  {
>  "owner": "John Doe",
>  "createTime": 1522060403813,
>  "qualifiedName": "product_dim",
>  "name": "product_dim",
>  "description": "product dimension table"
>  },
>  "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
>  "status": "ACTIVE",
>  "displayText": "product_dim",
>  "classificationNames": ["Dimension"]
>  }]
> }
> {code}
> BASIC
> {code:java}
> {
>     "queryType": "BASIC",
>     "searchParameters":
>     {
>         "typeName": "Table",
>         "excludeDeletedEntities": true,
>         "includeClassificationAttributes": true,
>         "includeSubTypes": true,
>         "includeSubClassifications": true,
>         "limit": 25,
>         "offset": 0,
>         "attributes": []
>     },
>     "entities": [
>     {
>         "typeName": "Table",
>         "attributes":
>         {
>             "owner": "John Doe",
>             "createTime": 1522060403813,
>             "qualifiedName": "product_dim",
>             "name": "product_dim",
>             "description": "product dimension table"
>         },
>         "guid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
>         "status": "ACTIVE",
>         "displayText": "product_dim",
>         "classificationNames": ["Dimension"],
>         "classifications": [
>         {
>             "typeName": "Dimension",
>             "entityGuid": "a31fe16a-3592-4b82-aeec-71db0f1fa85c",
>             "propagate": true
>         }]
>     }]
> }
> {code}
>  
> As we can see basic search result have classifications list with *entityGuid* whereas DSL search doesn't have it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)