You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2026/07/15 20:32:00 UTC

[jira] [Closed] (TINKERPOP-3165) `withComputer()` is not defined in grammar

     [ https://issues.apache.org/jira/browse/TINKERPOP-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Mallette closed TINKERPOP-3165.
---------------------------------------
    Resolution: Won't Do

I sense we will keep withComputer out of the grammar and retain it for specialty configuration. The workaround is described in the prior comments.

> `withComputer()` is not defined in grammar
> ------------------------------------------
>
>                 Key: TINKERPOP-3165
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3165
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language
>    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)