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

Cole Greer commented on TINKERPOP-2128:
---------------------------------------

Related to this issue is that none of the GLV's support the explain() step over 
bytecode. I would like to expand the scope of this issue to include supporting 
the explain step in remote traversals from all drivers.

When submitting scripts, the server will send the traversal explanation as a 
LinkedHashMap. I believe this map representation of the explanation is 
sufficient for the GLV's. For the Java driver however, a solution which wraps 
this map into a TraversalExplanation object may be required.

> Allow explain() to work in a remote fashion
> -------------------------------------------
>
>                 Key: TINKERPOP-2128
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2128
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.0
>            Reporter: Alan Boudreault
>            Priority: Major
>
> {{g.V().explain()}} doesn´t really work in any scenario where the traversal 
> is being executed remotely. the {{explain()}} applies locally in java so you 
> really just get this:
> {code}
> gremlin> g = traversal().withRemote('conf/remote-graph.properties')
> ==>graphtraversalsource[emptygraph[empty], standard]
> gremlin> g.V().out().explain()
> ==>Traversal Explanation
> ============================================================================================
> Original Traversal   [GraphStep(vertex,[]), VertexStep(OUT,vertex)]
> RemoteStrategy [D]   
> [RemoteStep(DriverServerConnection-localhost/127.0.0.1:8182 [graph=g])]
> Final Traversal      
> [RemoteStep(DriverServerConnection-localhost/127.0.0.1:8182 [graph=g])]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to