You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Cole Greer (Jira)" <ji...@apache.org> on 2025/11/12 22:33:00 UTC
[jira] [Closed] (TINKERPOP-3198) Add tests to ensure behavior of traversers in flatmaps
[ https://issues.apache.org/jira/browse/TINKERPOP-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cole Greer closed TINKERPOP-3198.
---------------------------------
Fix Version/s: 3.8.0
Assignee: Ken Hu
Resolution: Fixed
Feature tests and documentation updates done via CTRs:
https://github.com/apache/tinkerpop/commit/cdfef2c280c9560feef5d82ca8004b219fa8be96
https://github.com/apache/tinkerpop/commit/8cdadb65483101d987b5429095f96450e4098cb5
> 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
> Components: test-suite
> Affects Versions: 3.7.4
> Reporter: Ken Hu
> Assignee: Ken Hu
> Priority: Blocker
> Fix For: 3.8.0
>
>
> 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)