GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/481

    TINKERPOP-1428: profile() throws NPE for union(group, group)

    https://issues.apache.org/jira/browse/TINKERPOP-1428#
    
    `GroupSideEffectStep` is "weird" in that it splits the `valueTraversal` 
into a pre- and post-traversals where the split is the first `Barrier`-step 
encountered. This makes it so that its possible for a local child to never be 
`next()'d` and thus, profiling never initialized for that step. The blanket fix 
is basically, if a metric is not initialized, don't include it in the profile 
results. As a side, I fixed a bug in `GroupXXXStep` around empty traverser set 
values (basically, don't include them).
    
    VOTE +1.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1428

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/481.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #481
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to