[ https://issues.apache.org/jira/browse/TINKERPOP-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956447#comment-17956447 ]
Stephen Mallette commented on TINKERPOP-3165: --------------------------------------------- i tend to think that {{withComputer}} should remain a configuration feature for embedded use cases. you could just bind "g" to a graph that has a computer configured then execute that against the grammar. that's how tests are executed now against spark for example. > `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)