Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2790

Allow path expressions as attributeNames in Atlas basic search entityFilters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • atlas-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara Barbara Eckman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: