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

    https://github.com/apache/spark/pull/22379#discussion_r221415711
  
    --- Diff: R/pkg/R/functions.R ---
    @@ -2203,6 +2209,23 @@ setMethod("from_json", signature(x = "Column", 
schema = "characterOrstructType")
                 column(jc)
               })
     
    +#' @details
    +#' \code{from_csv}: Parses a column containing a CSV string into a Column 
of \code{structType}
    +#' with the specified \code{schema}.
    +#' If the string is unparseable, the Column will contain the value NA.
    +#'
    +#' @rdname column_collection_functions
    +#' @aliases from_csv from_csv,Column,character-method
    +#' @note from_csv since 2.5.0
    --- End diff --
    
    consider adding example as in 
https://github.com/apache/spark/pull/22379/files#diff-d97f9adc2dcac0703568c799ff106987R2180?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to