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

Prasad  S Madugundu updated ATLAS-1067:
---------------------------------------
    Issue Type: Bug  (was: Improvement)

> In DSL results, null is returned for an alias in some scenarios
> ---------------------------------------------------------------
>
>                 Key: ATLAS-1067
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1067
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Prasad  S Madugundu
>
> The results of DSL has null for alias in some scenarios.
> For example, I have executed the following query:
> DataLake as dl  where name = 'DataLake1'  select dl
> Results:
> {
>     "requestId": "qtp1121454968-11 - b510ef68-12a5-4480-9f42-d98133ed9753",
>     "query": "DataLake as dl  where name = 'DataLake1' select dl",
>     "queryType": "dsl",
>     "count": 2,
>     "results": [
>         {
>             "$typeName$": "__tempQueryResultStruct326",
>             "dl": null
>         },
>         {
>             "$typeName$": "__tempQueryResultStruct326",
>             "dl": {
>                 "id": "5136d4e7-b296-452f-9ea1-d5e1357edd70",
>                 "$typeName$": "DataLake",
>                 "version": 0,
>                 "state": "ACTIVE"
>             }
>         }
>     ],
>     "dataType": {
>         "typeName": "__tempQueryResultStruct326",
>         "typeDescription": null,
>         "attributeDefinitions": [
>             {
>                 "name": "dl",
>                 "dataTypeName": "OMAS_OMRSDataLake",
>                 "multiplicity": {
>                     "lower": 0,
>                     "upper": 1,
>                     "isUnique": false
>                 },
>                 "isComposite": false,
>                 "isUnique": false,
>                 "isIndexable": true,
>                 "reverseAttributeName": null
>             }
>         ]
>     }
> }



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

Reply via email to