You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2016/10/13 16:50:20 UTC

[jira] [Commented] (SPARK-17902) collect() ignores stringsAsFactors

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

Shivaram Venkataraman commented on SPARK-17902:
-----------------------------------------------

Good catch - Looks like this was changed in https://github.com/apache/spark/commit/71a138cd0e0a14e8426f97877e3b52a562bbd02c which is a part of 1.6.0. Do you have a small test case that fails ?

> collect() ignores stringsAsFactors
> ----------------------------------
>
>                 Key: SPARK-17902
>                 URL: https://issues.apache.org/jira/browse/SPARK-17902
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.1
>            Reporter: Hossein Falaki
>
> `collect()` function signature includes an optional flag named `stringsAsFactors`. It seems it is completely ignored.
> {code}
> str(collect(createDataFrame(iris), stringsAsFactors = TRUE)))
> {code}



--
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