You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2015/10/25 13:34:27 UTC

[jira] [Updated] (TINKERPOP3-918) ComputerVerificationStrategy is too restrictive

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

Daniel Kuppitz updated TINKERPOP3-918:
--------------------------------------
    Description: 
{code}
gremlin> g.V().local(bothE().values("weight").fold())
==>[0.4, 0.5, 1.0]
==>[0.5]
==>[0.4, 0.4, 0.2]
==>[1.0, 0.4, 1.0]
==>[1.0]
==>[0.2]
gremlin> g.V().local(bothE().values("weight").fold()).order().by(sum(local), decr)
A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SumLocalStep])])
Display stack trace? [yN]
{code}

I'm not trying to process an element beyond its id. Another example is when the result is a list of Maps:

{code}
gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s")
==>[v:v[1], s:1.9]
==>[v:v[2], s:0.5]
==>[v:v[3], s:1.0]
==>[v:v[5], s:1.0]
==>[v:v[6], s:0.2]
==>[v:v[4], s:2.4]
gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s").order().by(select("s"), decr)
A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SelectOneStep(s)])])
Display stack trace? [yN] 
{code}

  was:
{code}
gremlin> g.V().local(bothE().values("weight").fold())
==>[0.4, 0.5, 1.0]
==>[0.5]
==>[0.4, 0.4, 0.2]
==>[1.0, 0.4, 1.0]
==>[1.0]
==>[0.2]
gremlin> g.V().local(bothE().values("weight").fold()).order().by(sum(local), decr)
A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SumLocalStep])])
Display stack trace? [yN]
{code}

I'm not trying to process an element beyond its id.


> ComputerVerificationStrategy is too restrictive
> -----------------------------------------------
>
>                 Key: TINKERPOP3-918
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-918
>             Project: TinkerPop 3
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.1.0-incubating
>            Reporter: Daniel Kuppitz
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.1.0-incubating
>
>
> {code}
> gremlin> g.V().local(bothE().values("weight").fold())
> ==>[0.4, 0.5, 1.0]
> ==>[0.5]
> ==>[0.4, 0.4, 0.2]
> ==>[1.0, 0.4, 1.0]
> ==>[1.0]
> ==>[0.2]
> gremlin> g.V().local(bothE().values("weight").fold()).order().by(sum(local), decr)
> A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SumLocalStep])])
> Display stack trace? [yN]
> {code}
> I'm not trying to process an element beyond its id. Another example is when the result is a list of Maps:
> {code}
> gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s")
> ==>[v:v[1], s:1.9]
> ==>[v:v[2], s:0.5]
> ==>[v:v[3], s:1.0]
> ==>[v:v[5], s:1.0]
> ==>[v:v[6], s:0.2]
> ==>[v:v[4], s:2.4]
> gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s").order().by(select("s"), decr)
> A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SelectOneStep(s)])])
> Display stack trace? [yN] 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)