[
https://issues.apache.org/jira/browse/ATLAS-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441187#comment-16441187
]
Ashutosh Mestry edited comment on ATLAS-2567 at 4/17/18 5:51 PM:
-----------------------------------------------------------------
[~apoorvnaik], [[email protected]]
Can you please review and vote? This is a small change. I have pre-commit build
has succeeded.
was (Author: ashutoshm):
[~apoorvnaik], [[email protected]]
Can you please review and vote? This is a small change. I have pre-commit build
running.
> 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: Ashutosh Mestry
> Priority: Major
> Attachments:
> ATLAS-2567-Updated-DSL-Search-result-to-include-clas.patch
>
>
> 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)