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

DSL Search : Support glossary terms and relationships

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.2.0
    • atlas-core
    • Hide
      *Glossary Term based filtering:*

      - In order to retrieve entities based on glossary term, a query would use hasTerm keyword.
      - To get entities with associated glossary term, user needs to add fully qualified name. i.e {termName}@{glossaryName}
      - In case user adds only term name, all the entities associated with term name will return, irrespective of, to which glossary it is in.

      Example: To retrieve all entities of type Table having glossary

      from Table hasTerm "modernTrade@salesGlossary",
      Table hasTerm "modernTrade@salesGlossary",
      Table hasTerm "modernTrade",
      Table where Table hasTerm "modernTrade@salesGlossary",
      Table hasTerm "modernTrade@salesGlossary" and db.name = "sales"


      Show
      *Glossary Term based filtering:* - In order to retrieve entities based on glossary term, a query would use hasTerm keyword. - To get entities with associated glossary term, user needs to add fully qualified name. i.e {termName}@{glossaryName} - In case user adds only term name, all the entities associated with term name will return, irrespective of, to which glossary it is in. Example: To retrieve all entities of type Table having glossary from Table hasTerm " modernTrade@salesGlossary ", Table hasTerm " modernTrade@salesGlossary ", Table hasTerm "modernTrade", Table where Table hasTerm " modernTrade@salesGlossary ", Table hasTerm " modernTrade@salesGlossary " and db.name = "sales"

    Description

      Supporting glossary term in advanced search, will allow user to search the entities which are assigned to particular term.

       

      'hasTerm' keyword is added to support glossary term.

      User needs to add fully qualifiedName of glossary term.

       

      Example queries to search with glossary terms:

      hive_table hasTerm "modernTrade@salesGlossary",

      hive_table hasTerm "modernTrade@salesGlossary" and hive_table isA Dimension

       

      Example queries to search with relationship:
      hive_table where db.name = "sales"

      Attachments

        Issue Links

          Activity

            People

              pinal Pinal Shah
              pinal Pinal Shah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: