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

David Radley updated ATLAS-1327:
--------------------------------
    Description: 
After ATLAS-1186 - we would like to derive the fully qualified name (the dotted 
name of the category followed by its ancestors at query time.

Maybe use TP3 gremlin query like
g.withSack('').V().has('__guid','1234').repeat(sack{s,v -> 
s=s+'.'+v.value('GlossaryCategory.name')}.out('glossary-category-has-parent')).until(has('__typeName','Taxonomy')).sack{s,v
 -> s=s+'.'+v.value('Taxonomy.name')}.sack()
 

  was:After ATLAS-1186 - we would like to derive the fully qualified name (the 
dotted name of the category starting with the taxonomyname followed by its 
ancestors in order followed by its simple name at query time. 


> Derive fully qualified glossary category name at query time
> -----------------------------------------------------------
>
>                 Key: ATLAS-1327
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1327
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: David Radley
>
> After ATLAS-1186 - we would like to derive the fully qualified name (the 
> dotted name of the category followed by its ancestors at query time.
> Maybe use TP3 gremlin query like
> g.withSack('').V().has('__guid','1234').repeat(sack{s,v -> 
> s=s+'.'+v.value('GlossaryCategory.name')}.out('glossary-category-has-parent')).until(has('__typeName','Taxonomy')).sack{s,v
>  -> s=s+'.'+v.value('Taxonomy.name')}.sack()
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to