atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-706) Unable to query for traits which contain a '.' character in their name
Date Mon, 16 May 2016 14:25:12 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284642#comment-15284642
] 

Hemanth Yamijala commented on ATLAS-706:
----------------------------------------

I was able to get this to work using {{`foo.bar`}} as the query term - note the escape characters.
Got the idea to try this from http://atlas.incubator.apache.org/Search.html - {{`Log Data`}}
example.

> Unable to query for traits which contain a '.' character in their name
> ----------------------------------------------------------------------
>
>                 Key: ATLAS-706
>                 URL: https://issues.apache.org/jira/browse/ATLAS-706
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: John Speidel
>
> For traits which contain a '.' character in their name, or most other non alpha-numeric
characters, DSL queries using the 'isa' operator fail.  This is because the atlas query lexer/parser
treat these characters as token separators.  So for a trait named "foo.bar" if you do a query
for "isa foo.bar" this is parsed as "isa foo".
> This prevents querying of catalog terms which are modeled as traits and contain '.' characters.



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

Mime
View raw message