Ken Hu created TINKERPOP-3039:
---------------------------------
Summary: Java driver won't propagate with args when using aliased
client directly
Key: TINKERPOP-3039
URL: https://issues.apache.org/jira/browse/TINKERPOP-3039
Project: TinkerPop
Issue Type: Bug
Components: driver
Affects Versions: 3.7.1, 3.6.6
Reporter: Ken Hu
The Java driver is unable to pass on options defined in the query via a .with()
configuration step when attempting to submit with the AliasClusteredClient's
submit() method.
Example:
{code:java}
Cluster cluster = Cluster.build().create();
Client client = cluster.connect().alias("ggrateful");
GraphTraversalSource g =
traversal().withRemote(DriverRemoteConnection.using(client, "ggrateful"));
GraphTraversal traversal = g.with("evaluationTimeout",
1).V().both().both().both();
try {
List<Result> results = client.submit(traversal).all().get();
} catch (Exception e) {
e.printStackTrace();
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)