[
https://issues.apache.org/jira/browse/TINKERPOP-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188720#comment-16188720
]
Robert Dale commented on TINKERPOP-1795:
----------------------------------------
What graph is this on? Couldn't reproduce on TinkerGraph...
{noformat}
gremlin>
g.V().has("Question","questionType","yes/no").in("has_question").order().by(inE("reviewed").values("rating").mean()).profile()
==>Traversal Metrics
Step Count
Traversers Time (ms) % Dur
=============================================================================================================
TinkerGraphStep(vertex,[~label.eq(Question), qu... 1
1 0.050 7.36
VertexStep(IN,[has_question],vertex) 1
1 0.058 8.57
OrderGlobalStep([[[VertexStep(IN,[reviewed],edg... 1
1 0.573 84.07
VertexStep(IN,[reviewed],edge) 1
1 0.016
PropertiesStep([rating],value) 1
1 0.384
MeanGlobalStep 1
1 0.083
>TOTAL -
- 0.681 -
{noformat}
> 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)