Suppose the following traversal:
Given that count() is a ReducingBarrierStep and thus, continues to pull until there are no more results, you would expect the result set to be:
However, its actually this:
[3,0] [0,1] [0,3] [2,1] [0,1] [1,0]
That is, for each traverser into union(), the count() is calculated.
In OLAP, the result is [6,6] as expected.
What should we do?
- is duplicated by
TINKERPOP-1429 Branch step inside where step misbehaves