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

Marko A. Rodriguez edited comment on TINKERPOP-1795 at 10/2/17 8:57 PM:
------------------------------------------------------------------------

I was able to reproduce this with TinkerGraph.

{code}
gremlin> 
gremlin> g = TinkerGraph.open().traversal()
==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
gremlin> g = g.withStrategies(LambdaRestrictionStrategy.instance())
gremlin> 
g.V().has("Question","questionType","yes/no").in("has_question").order().by(inE("reviewed").values("rating").mean()).profile()
The provided step contains a lambda comparator: 
OrderGlobalStep([[[VertexStep(IN,[reviewed],edge), 
PropertiesStep([rating],value), MeanGlobalStep@[~gremlin.profile]], incr]])
Type ':help' or ':h' for help.
Display stack trace? [yN]
{code}


was (Author: okram):
I was able to reproduce this with TinkerGraph.

{code}
gremlin> 
gremlin> g = TinkerGraph.open().traversal()
==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
gremlin> g = g.withStrategies(LambdaRetrictionStrategy.instance())
gremlin> 
g.V().has("Question","questionType","yes/no").in("has_question").order().by(inE("reviewed").values("rating").mean()).profile()
The provided step contains a lambda comparator: 
OrderGlobalStep([[[VertexStep(IN,[reviewed],edge), 
PropertiesStep([rating],value), MeanGlobalStep@[~gremlin.profile]], incr]])
Type ':help' or ':h' for help.
Display stack trace? [yN]
{code}

> Getting Lambda  comparator message for .profile() step
> ------------------------------------------------------
>
>                 Key: TINKERPOP-1795
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1795
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.6
>            Reporter: Shaunak Das
>            Priority: Minor
>
> Ran into this message when adding a .profile() step, even though Gremlin 
> query does not have any lambda steps:
> {code}
> gremlin> 
> g.V().has("Question","questionType","yes/no").in("has_question").order().by(inE("reviewed").values("rating").mean()).profile()
> The provided step contains a lambda comparator: 
> OrderGlobalStep([[[VertexStep(IN,[reviewed],edge), 
> PropertiesStep([rating],value), MeanGlobalStep@[~gremlin.profile]], incr]])
> Type ':help' or ':h' for help.
> Display stack trace? [yN]
> {code}



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

Reply via email to