Painguin | Tiến
Explore posts from serversATApache TinkerPop
•Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
17 replies
ATApache TinkerPop
•Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
There's a try & sleep step in these tests:
https://github.com/tien/tinkerpop/blob/a919b90ebe31434e306609a2d2a37702eead02d7/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionTest.java#L86
https://github.com/tien/tinkerpop/blob/a919b90ebe31434e306609a2d2a37702eead02d7/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalInterruptionComputerTest.java#L78
Which caused the last test case outlined below to take a very long time to complete (several hours to complete on CI)
Testcase:
The test appear to also work when I remove the
try->sleep
& run it locally. Can this be removed? It's right now causing Janusgraph CI to take several hours to complete tests for every DB adapter.
cc @spmallette37 replies
ATApache TinkerPop
•Created by Painguin | Tiến on 5/3/2024 in #questions
Running Tinkerpop test in Janusgraph repo
Hi I'm trying to run the below Tinkerpop test to test out some of the changes I've made to Janusgraph. By copying the test over from Tinkerpop repo into Janusgraph repo (just for testing one test).
But I'm getting
I need to be able to inject the graph implementation into this test somehow? How can I do that?
Thank you.
11 replies
ATApache TinkerPop
•Created by Painguin | Tiến on 4/24/2024 in #questions
Query optimisation
Hey, I'm optimising some queries, and found that these 2 seemingly identical queries behave very differently in term of performance
vs
The 2nd query performed about 10 times faster than the first. Can anyone with experience let me know what's the different for the 2? And what I should watch out for to avoid bad performing query like the first one? Thank you.
12 replies
ATApache TinkerPop
•Created by Painguin | Tiến on 3/4/2024 in #questions
Concurrent queries to authentication required sever resulted in 401 error
Hey guys, playing around with gremlin & encountered this very odd error where concurrent queries will break authentication:
12 replies
ATApache TinkerPop
•Created by Painguin | Tiến on 2/26/2024 in #questions
Returned vertex properties (JS client)
Hi, I've got a question regarding the returned vertex value when using the JS client. How come non-array properties are parsed & returned as an array of length 1, as seen in the example below? Thank you.
5 replies