[
https://issues.apache.org/jira/browse/ATLAS-4057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pinal updated ATLAS-4057:
-------------------------
Docs Text:
*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"
was:
*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"
> DSL Search : Support glossary terms and relationships
> -----------------------------------------------------
>
> Key: ATLAS-4057
> URL: https://issues.apache.org/jira/browse/ATLAS-4057
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Reporter: Pinal
> Assignee: Pinal
> Priority: Major
> Labels: DSL
>
> 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"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)