Barbara Eckman created ATLAS-2790:
-------------------------------------

             Summary: Allow path expressions as attributeNames in Atlas basic 
search entityFilters
                 Key: ATLAS-2790
                 URL: https://issues.apache.org/jira/browse/ATLAS-2790
             Project: Atlas
          Issue Type: New Feature
          Components:  atlas-core
            Reporter: Barbara Eckman


It would be nice if a search on a complex entity could perform a search on 
attributes of nested sub-entities or structs, as well as just top-level 
attributes.  

Here is an example of an Atlas basic search request object:
{
 "typeName": "hive_table",
 "excludeDeletedEntities": true,
 "classification" : "",
 "query": "",
 "limit": 25,
 "offset": 0,
 "entityFilters": {
 "attributeName": "name",
 "operator": "contains",
 "attributeValue": "testtable"
 },
 "tagFilters": null,
 "attributes": [""]
}

Here, attributeName must be one of the top-level attributes of the hive table 
entity.

This ticket requests that path expressions to attributes of sub-entities or 
structs also be allowed as attributeNames, eg column.name  (similar to DSL 
search).   This would execute a search on the name attribute of columns that 
are associated with the hive table.



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

Reply via email to