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

Sarath Subramanian commented on ATLAS-1726:
-------------------------------------------

When you surround type name with back tick character, it will escape spaces in 
type name. eg. `type 1`

> Creating type name with space causes exceptions while doing DSL search
> ----------------------------------------------------------------------
>
>                 Key: ATLAS-1726
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1726
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating, 0.9-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Sarath Subramanian
>            Priority: Minor
>         Attachments: ATLAS-1726.1.patch
>
>
> 1.Created a type "type 1" successfully
> 2.Searched the type "type 1" in Basic search which worked fine.
> 3.Same type when selected in drop down list of types in DSL , failed with 500 
> internal server error with exception :
> {code}
> org.apache.atlas.query.Expressions$UnresolvedException: Unresolved datatype. 
> Can not resolve due to unresolved children, expression: type where 1
> {code}
> 4. If typename is provided as `type 1` in "Search by Query" text box (with 
> backquotes) like mentioned in https://issues.apache.org/jira/browse/ATLAS-263 
> , it works fine.
> User might perceive that the type is not registered properly due to the 
> exception.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to