[
https://issues.apache.org/jira/browse/SPARK-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14744254#comment-14744254
]
Davies Liu commented on SPARK-9325:
-----------------------------------
I would -1 on this.
I'm worried that once we have collect(Column)/head(Column), users will ask for
count(Column)/first(Column)/Sum(Column)/Avg(Column), then it's hard to tell
which one should be in or not. Adding APIs in R is harder than
Scala/Java/Python (because of namespace), we should be more careful on it.
> Support `collect` on DataFrame columns
> --------------------------------------
>
> Key: SPARK-9325
> URL: https://issues.apache.org/jira/browse/SPARK-9325
> Project: Spark
> Issue Type: Sub-task
> Components: SparkR
> Reporter: Shivaram Venkataraman
>
> This is to support code of the form
> ```
> ages <- collect(df$Age)
> ```
> Right now `df$Age` returns a Column, which has no functions supported.
> Similarly we might consider supporting `head(df$Age)` etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]