[
https://issues.apache.org/jira/browse/SPARK-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699823#comment-14699823
]
Shivaram Venkataraman commented on SPARK-9972:
----------------------------------------------
Ah that makes more sense. When we try to write a unit test for this you will
see an error. Could we operate on the array (using say `sum` or `max` or
something like that ?) on the Scala side and then only collect a single value ?
BTW, longer term we will fix the collect issue, but I am just trying to see if
we can make progress on this without being blocked on that.
> Add `struct`, `encode` and `decode` function in SparkR
> ------------------------------------------------------
>
> Key: SPARK-9972
> URL: https://issues.apache.org/jira/browse/SPARK-9972
> Project: Spark
> Issue Type: Sub-task
> Components: SparkR
> Reporter: Yu Ishikawa
>
> Support {{struct}} function on a DataFrame in SparkR. However, I think we
> need to improve {{collect}} function in SparkR in order to implement
> {{struct}} function.
> - struct
> - encode
> - decode
> - array_contains
> - sort_array
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]