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

Stephen Mallette commented on TINKERPOP-3165:
---------------------------------------------

Does withComputer even work right now with bytecode? 

in any event, personally, i'm not too concerned about adding it because the 
solution has always been to configure "g" on the server to be a OLAP based "g" 
so when the request comes in it's automatically using it. Users just wouldn't 
do it from the client. I'm not necessarily against seeing it added if you think 
it important though and wish to make the case, but I sense there are details to 
iron out in making it happen. 

> `withComputer()` is not defined in grammar
> ------------------------------------------
>
>                 Key: TINKERPOP-3165
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3165
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.7.3
>            Reporter: Valentyn Kahamlyk
>            Priority: Major
>
>  
> it is impossible to use olap with string requests because `withComputer` is 
> not supported
> {code:java}
>         final Client.ClusteredClient client  = 
> Cluster.build(<IP>).port(8182).create().connect();
>         final ResultSet result = client.submit(
>                 "g.withComputer().V().hasLabel(\"Person\").count().next()", 
> "g");
>         System.out.println("Result: " + result.one());
> {code}
> result error
> {code:java}
> Failed to interpret Gremlin query: Query parsing failed at line 1, character 
> position at 2, error message : no viable alternative at input 
> 'g.withComputer'{code}
>  



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

Reply via email to