atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apoorv Naik (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ATLAS-2214) Search using trait attributes "!=" and "is not null" together and in order in string,boolean tag attribute filter comparison
Date Tue, 17 Oct 2017 22:26:00 GMT

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

Apoorv Naik reassigned ATLAS-2214:
----------------------------------

    Assignee: Apoorv Naik

> Search using trait attributes  "!=" and "is not null"  together and in order in string,boolean
tag attribute filter comparison
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2214
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2214
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Sharmadha Sainath
>            Assignee: Apoorv Naik
>            Priority: Critical
>         Attachments: not_equals_and_not_null_tag_filter_exception.txt
>
>
> 1. Created a tag tag1 with attributes of all data types.
> 2. Fired a basic search with tag1 and following tag filters of type string:
>             a)string  != rand
>             b)string is not null
> POST body 
> {code}
> {  
>    "excludeDeletedEntities":true,
>    "entityFilters":null,
>    "tagFilters":{  
>       "condition":"AND",
>       "criterion":[  
>          {  
>             "attributeName":"string",
>             "operator":"neq",
>             "attributeValue":"rand"
>          },
>          {  
>             "attributeName":"string",
>             "operator":"not_null",
>             "attributeValue":""
>          }
>       ]
>    },
>    "attributes":null,
>    "limit":25,
>    "offset":0,
>    "typeName":null,
>    "classification":"tag1"
> }
> {code}
> The search threw 500 Internal server exception. Attached the stack trace .
> Note :
> 1)This exception is not seen if order is reversed (i.e) , in the order
>    a)string is not null
>    b)string  != rand 
>     In this order , correct results are fetched.
> 2)For string and boolean data types , this exception is seen. This was not seen with
int , float, short , double , date , enum .
>            
> 3)Also , this issue is seen only in tag attribute filters and not in type attribute filters.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message