JanusGraph / JanusGraph/janusgraph
Failing to execute bytecode with textContains and the Lambda function together by remote driver
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
g.V(491552912).repeat(__.out("job")).emit().has("staff", Text.textContains('chrism"))
.sideEffect(Lambda.consumer("it") );
is having exception returned as:
org.apache.tinkerpop.gremlin.driver.exception.ResponseException:
javax.script.ScriptException: groovy.lang.MissingMethodException:
No signature of method: static org.apache.tinkerpop.gremlin.process.traversal
**.P.textContains()** is applicable for argument types: (String) values: [chrism]"
- Version: JanusGraph 0.4
- Storage Backend: Cassandra
- Mixed Index Backend: not usd
- Mailing list Thread URL:
- Steps to Reproduce:
# This part of the query works well:
g.V(491552912).repeat(__.out("job")).emit().has("staff", Text.textContains('chrism'))
# This lambda code is also working well, and doing the job on the server, with my closure inside,
g.V(491552912).repeat(__.out("job")).emit().sideEffect(Lambda.consumer("it is having any code here") );
Contributor guide
Research direction
Start with the remote-driver execution path for the reproduced traversal combining Text.textContains and Lambda.consumer, using the JanusGraph 0.4 and Cassandra details in the issue. Verify the two working standalone traversals and then determine why their combination raises the reported ScriptException; done means the combined traversal executes without that exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100