You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/03/09 03:41:40 UTC
[jira] [Created] (TINKERPOP-1211) UnfoldStep should unfold arrays.
Marko A. Rodriguez created TINKERPOP-1211:
---------------------------------------------
Summary: 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
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)