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

Madhan Neethiraj reopened ATLAS-1744:
-------------------------------------

After introducing the validation on attributeNames to prevent use of keywords, 
Atlas startup fails due to current use of one  of the reserved words - 'order' 
in struct hive_order. Hence this validation should be disabled.

The original issue reported by this JIRA, error executing DSL queries that use 
such attributes, can be resolved by surrounding the attribute name with 
backquotes - like `order`.

> Error when searching type with attribute name "order" , "limit" , "offset"
> --------------------------------------------------------------------------
>
>                 Key: ATLAS-1744
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1744
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating, 0.9-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Suma Shivaprasad
>             Fix For: 0.9-incubating
>
>         Attachments: OrderSearchError.txt
>
>
> 1.Created a type with attributes "order", "limit", "offset"
> 2.Created an entity for the type.
> 3.Searched 
> type where order="random" 
> which threw 500 internal server error with error notification
> {code}
> Discovery query failed type_entity where order ="random"
> {code}.
> Same exception when searching type with name "limit" and "offset"
> type where limit="upper"
> type where offset="middle"
> Attached the complete exception stack trace .



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

Reply via email to