Ken Hu created TINKERPOP-3198:
---------------------------------
Summary: Add tests to ensure behavior of traversers in flatmaps
Key: TINKERPOP-3198
URL: https://issues.apache.org/jira/browse/TINKERPOP-3198
Project: TinkerPop
Issue Type: Improvement
Affects Versions: 3.7.4
Reporter: Ken Hu
FlatMap steps (flatMap() in particular) have certains behaviors due to how they
are split. This includes things like path hiding and debulking side effects.
These cases are not covered in the feature tests right now.
Examples of queries that are not tested.
{code:java}
g.V(1, 1).barrier().flatMap(aggregate("x")).cap("x")
g.V(1, 1).barrier().flatMap(out().out()).path()
g.withSack(1.0f).V(1).barrier().flatMap(sack(mult).by("age")).sack(){code}
You can replace flatMap() with local() to get a sense of how these behave
differently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)