You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (Jira)" <ji...@apache.org> on 2021/03/18 19:08:00 UTC

[jira] [Updated] (ATLAS-4211) DSL Search : Regression: When fetching string attribute with null value returns null , earlier versions returned empty

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

Sarath Subramanian updated ATLAS-4211:
--------------------------------------
    Affects Version/s: 2.1.0

> DSL Search : Regression: When fetching string attribute with null value returns null , earlier versions returned empty
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4211
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4211
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.1.0
>            Reporter: Pinal
>            Assignee: Pinal
>            Priority: Major
>
> description is set to null for an hive_table entity
> DSL query : `hive_table name="bucketing_cols" select description` returns
> {code:java}
> {
>    "attributes":{
>       "name":[
>          "description"
>       ],
>       "values":[
>          [
>             null
>          ]
>       ]
>    },
>    "approximateCount":-1
> }{code}
> Earlier:
> {code:java}
> {
>   "queryType": "DSL",
>   "queryText": "`hive_table` name=\"bucketing_cols\" select description",
>   "attributes": {
>     "name": [
>       "description"
>     ],
>     "values": []
>   },
>   "approximateCount": -1
> }{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)