Painguin | Tiến
Painguin | Tiến
Explore posts from servers
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
First time hearing about query cache, what's that about?
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
Not even sure if I need pagination in my case tbh, my concern is pulling in a large amount of data in one go might break or tickle something funny. Like should I not even bother if say there're less than 10k results?
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
Is this only possible with submitting gremlin script? As in you can't do the same via traversal g.etc
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/8/2024 in #questions
`next(n)` with Gremlin JavaScript
huh, I thought next(n) gonna do something special
public IEnumerable<TEnd?> Next(int amount)
{
for (var i = 0; i < amount; i++)
yield return Next();
}
public IEnumerable<TEnd?> Next(int amount)
{
for (var i = 0; i < amount; i++)
yield return Next();
}
This look like it's just doing Next multiple time.
17 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Oh I think I understand how thread & interruption work in Java now. Was too used to the single threaded model from Js :))
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
No description
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
So is that behaviour still correct, since it technically did pass the test
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Bizarre thing is the test still pass, cuz a TraversalInterruptedException was thrown. It's just that the sideEffect went through the entire graph.
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
sorry my knowledge around this is very limited so might be asking dumb question lol
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Well it look like each traversal was completed without being interrupted? Hence it's going through the whole graph.
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
How do you mean by this?
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
I'm adding interupttion support
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Oh wait this might be because of the changes I'm working on
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
nah it doesn't when I test
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
I'm testing this with the berkeleydb adapter btw if that help
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
Thanks, would massively benefit janusgraph CI
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
look like it will go on to iterate through the entire graph edges -> properties
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
I have no idea why but that's the only affected case
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
it's being hit more than one for a single test g.E() -> t.properties()
37 replies
ATApache TinkerPop
Created by Painguin | Tiến on 5/4/2024 in #questions
TraversalInterruptionTest taking a very long time to complete
No description
37 replies