[jira] [Updated] (ATLAS-2008) basic-search: numeric tag-attribute filtering fails with java.lang.ClassCastException

2017-09-19 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-2008:

Issue Type: Sub-task  (was: Bug)
Parent: ATLAS-1822

> basic-search: numeric tag-attribute filtering fails with 
> java.lang.ClassCastException
> -
>
> Key: ATLAS-2008
> URL: https://issues.apache.org/jira/browse/ATLAS-2008
> Project: Atlas
>  Issue Type: Sub-task
>  Components:  atlas-core
>Affects Versions: 0.9-incubating, 0.8.1-incubating
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
> Fix For: 0.9-incubating, 0.8.1-incubating
>
> Attachments: ATLAS-2008.patch
>
>
> When tag-attribute filter includes attributes of numeric types (int, double, 
> float), Gremlin queries fail due to ClassCastException:
> {noformat}
> 2017-07-29 07:58:15,868 DEBUG - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ 
> gremlinTagFilterQuery=g.V().has('__guid', T.in, guids).has('__traitNames', 
> T.in, traitNames).as('e').out().has('__typeName', T.in, 
> typeNames).has('tag4.attr4-double', T.gte, 6).back('e').toList() 
> (ClassificationSearchProcessor:119)
> ...
> 2017-07-29 07:58:16,189 WARN  - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ javax.script.ScriptException: 
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Double (ClassificationSearchProcessor:260)
> {noformat}



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


[jira] [Updated] (ATLAS-2008) basic-search: numeric tag-attribute filtering fails with java.lang.ClassCastException

2017-07-30 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-2008:

Affects Version/s: 0.8.1-incubating
   0.9-incubating

> basic-search: numeric tag-attribute filtering fails with 
> java.lang.ClassCastException
> -
>
> Key: ATLAS-2008
> URL: https://issues.apache.org/jira/browse/ATLAS-2008
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 0.9-incubating, 0.8.1-incubating
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
> Fix For: 0.9-incubating, 0.8.1-incubating
>
> Attachments: ATLAS-2008.patch
>
>
> When tag-attribute filter includes attributes of numeric types (int, double, 
> float), Gremlin queries fail due to ClassCastException:
> {noformat}
> 2017-07-29 07:58:15,868 DEBUG - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ 
> gremlinTagFilterQuery=g.V().has('__guid', T.in, guids).has('__traitNames', 
> T.in, traitNames).as('e').out().has('__typeName', T.in, 
> typeNames).has('tag4.attr4-double', T.gte, 6).back('e').toList() 
> (ClassificationSearchProcessor:119)
> ...
> 2017-07-29 07:58:16,189 WARN  - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ javax.script.ScriptException: 
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Double (ClassificationSearchProcessor:260)
> {noformat}



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


[jira] [Updated] (ATLAS-2008) basic-search: numeric tag-attribute filtering fails with java.lang.ClassCastException

2017-07-30 Thread Madhan Neethiraj (JIRA)

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

Madhan Neethiraj updated ATLAS-2008:

Attachment: ATLAS-2008.patch

Review board URL: https://reviews.apache.org/r/61246/

> basic-search: numeric tag-attribute filtering fails with 
> java.lang.ClassCastException
> -
>
> Key: ATLAS-2008
> URL: https://issues.apache.org/jira/browse/ATLAS-2008
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Madhan Neethiraj
>Assignee: Madhan Neethiraj
> Attachments: ATLAS-2008.patch
>
>
> When tag-attribute filter includes attributes of numeric types (int, double, 
> float), Gremlin queries fail due to ClassCastException:
> {noformat}
> 2017-07-29 07:58:15,868 DEBUG - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ 
> gremlinTagFilterQuery=g.V().has('__guid', T.in, guids).has('__traitNames', 
> T.in, traitNames).as('e').out().has('__typeName', T.in, 
> typeNames).has('tag4.attr4-double', T.gte, 6).back('e').toList() 
> (ClassificationSearchProcessor:119)
> ...
> 2017-07-29 07:58:16,189 WARN  - [pool-1-thread-9 - 
> e81686ab-44b5-403a-94e2-cf2a342806c6:] ~ javax.script.ScriptException: 
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Double (ClassificationSearchProcessor:260)
> {noformat}



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