[ https://issues.apache.org/jira/browse/TINKERPOP-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626225#comment-15626225 ]
ASF GitHub Bot commented on TINKERPOP-1211: ------------------------------------------- GitHub user okram opened a pull request: https://github.com/apache/tinkerpop/pull/475 TINKERPOP-1211: UnfoldStep should unfold arrays. https://issues.apache.org/jira/browse/TINKERPOP-1211 Unfold step now handles unfolding of arrays. VOTE +1. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/tinkerpop TINKERPOP-1211 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tinkerpop/pull/475.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 #475 ---- ---- > UnfoldStep should unfold arrays. > -------------------------------- > > Key: TINKERPOP-1211 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1211 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.1.1-incubating > Reporter: Marko A. Rodriguez > Labels: breaking > > Currently {{UnfoldStep}} does not unfold arrays as an array does not > implement {{Iterable}} or {{Iterator}}. We simply need to check if the > current object is an array, and if so, set the flatMap-iterator to > {{ArrayIterator}}. > This would be breaking, but I doubt anyone ever uses arrays or would find > this a problem. I'm sure anyone who wanted to {{unfold}} an array was like: > "whaaaaa?" -- This message was sent by Atlassian JIRA (v6.3.4#6332)