You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Russell Pierce (JIRA)" <ji...@apache.org> on 2015/10/23 14:53:27 UTC

[jira] [Comment Edited] (SPARK-9325) Support `collect` on DataFrame columns

    [ https://issues.apache.org/jira/browse/SPARK-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970917#comment-14970917 ] 

Russell Pierce edited comment on SPARK-9325 at 10/23/15 12:53 PM:
------------------------------------------------------------------

You're right, Spark had been producing an error because the df$col in question was a TINYINT stored in Parquet, not that the command itself didn't work; that problem seems to have been addressed in another Issue (https://issues.apache.org/jira/browse/SPARK-3575).


was (Author: rpierce):
You're right, Spark had been producing an error because the df$col in question was a TINYINT stored in Parquet, not that the command itself didn't work.

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org