[
https://issues.apache.org/jira/browse/SPARK-22353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-22353.
----------------------------------
Resolution: Incomplete
> ResultIterable should be indexable
> ----------------------------------
>
> Key: SPARK-22353
> URL: https://issues.apache.org/jira/browse/SPARK-22353
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 2.2.0
> Reporter: Joel Croteau
> Priority: Minor
> Labels: bulk-closed
>
> I have had a pipeline using the result of a groupWith fail because it tried
> to index the result instead of iterating through it. The documentation had
> led me to believe that groupWith returns collections, but ResultIterables are
> not indexable. It seems like it would be trivial to add a __getitem__ method
> that delegates to self.data. Unless there's a good reason not to do this, I
> can submit a patch.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]