You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:12:38 UTC

[jira] [Resolved] (SPARK-20263) create empty dataframes in sparkR

     [ https://issues.apache.org/jira/browse/SPARK-20263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-20263.
----------------------------------
    Resolution: Incomplete

> create empty dataframes in sparkR
> ---------------------------------
>
>                 Key: SPARK-20263
>                 URL: https://issues.apache.org/jira/browse/SPARK-20263
>             Project: Spark
>          Issue Type: Wish
>          Components: SparkR
>    Affects Versions: 2.1.0
>            Reporter: Ott Toomet
>            Priority: Minor
>              Labels: bulk-closed
>
> SparkR 2.1 does not support creating empty dataframes, nor conversion of empty R dataframes to spark ones:
> createDataFrame(data.frame(a=integer()))
> gives 
> Error in takeRDD(x, 1)[[1]] : subscript out of bounds



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org