Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19551#discussion_r146236525
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -1191,6 +1191,9 @@ setMethod("collect",
                         vec <- do.call(c, col)
                         stopifnot(class(vec) != "list")
                         class(vec) <- PRIMITIVE_TYPES[[colType]]
    +                    if (stringsAsFactors && is.character(vec)) {
    --- End diff --
    
    Sure, thanks.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to