[
https://issues.apache.org/jira/browse/ATLAS-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088118#comment-16088118
]
Apoorv Naik commented on ATLAS-1924:
------------------------------------
Note to self: AttrVal should be enclosed within quotes or regex
> Search using entity and trait attributes - Filtering integral and float data
> types with != (NOT EQUALS) on negative number throws exception
> -------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-1924
> URL: https://issues.apache.org/jira/browse/ATLAS-1924
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Fix For: 0.9-incubating
>
> Attachments: NotEqualsSearchWithNegative.txt
>
>
> Selected type = hive_table and applied filter
> {code}
> Retention != -1
> {code}
> The above throws 500 internal server error. Attached the application logs .
> Other filters like <,>,>=,<=,= on negative numbers work as expected.
> This happens for all integral and floating point data types
> POST request body :
> {code}
> {
> "entityFilters":{
> "condition":"AND",
> "criterion":[
> {
> "attributeName":"retention",
> "operator":"!=",
> "attributeValue":"-1"
> }
> ]
> },
> "tagFilters":null,
> "query":null,
> "excludeDeletedEntities":true,
> "limit":25,
> "typeName":"hive_table",
> "classification":null
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)