[
https://issues.apache.org/jira/browse/TINKERPOP-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956461#comment-17956461
]
Valentyn Kahamlyk commented on TINKERPOP-3165:
----------------------------------------------
What about feature parity between gremlin lang and bytecode requests?
> `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)