atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-1744) Error when searching type with attribute name "order" , "limit" , "offset"
Date Thu, 27 Apr 2017 23:49:04 GMT

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

Suma Shivaprasad edited comment on ATLAS-1744 at 4/27/17 11:48 PM:
-------------------------------------------------------------------

As part  of validation in creation of types, attribute names cannot have the following list
of keywords 

{noformat}
select
from
where
groupby
loop
isa
is
has
as
times
withPath
limit
offset
orderby
count
max
min
sum
by
order
{noformat}



was (Author: suma.shivaprasad):
The list of keywords that are currently not allowed are

{noformat}
select
from
where
groupby
loop
isa
is
has
as
times
withPath
limit
offset
orderby
count
max
min
sum
by
order
{noformat}


> 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)

Mime
View raw message