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

Martin Tapp edited comment on TINKERPOP-1753 at 8/18/17 2:04 PM:
-----------------------------------------------------------------

In my case I had a list of Long values only (or Double) with possibly null 
values. Not sure this will address my original issue...


was (Author: doctapp):
In my case I add a list of Long values only with possibly null values. Not sure 
this will address my original issue...

> OrderStep not able to order by non-integer numbers
> --------------------------------------------------
>
>                 Key: TINKERPOP-1753
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1753
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.5
>            Reporter: Daniel Kuppitz
>            Assignee: Daniel Kuppitz
>
> {{order()}} and {{order(local)}} sometimes fail to sort by non-integer 
> numbers. In some cases it works, but the following pattern (non-integer map 
> values?) seems broken:
> {noformat}
> gremlin> 
> g.V().hasLabel("person").group().by("name").by(outE().values("weight").sum()).order(local).by(values)
> java.lang.Double cannot be cast to java.lang.Integer
> Type ':help' or ':h' for help.
> Display stack trace? [yN]
> {noformat}



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

Reply via email to