Github user sun-rui commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10348#discussion_r47994990
  
    --- Diff: R/pkg/R/generics.R ---
    @@ -549,6 +549,10 @@ setGeneric("write.parquet", function(x, path) { 
standardGeneric("write.parquet")
     #' @export
     setGeneric("saveAsParquetFile", function(x, path) { 
standardGeneric("saveAsParquetFile") })
     
    +#' @rdname write.text
    +#' @export
    +setGeneric("write.text", function(x, path) { standardGeneric("write.text") 
})
    +
    --- End diff --
    
    This is historical legacy:) (you can find same cases in context.R.) I guess 
that because we did not implement SparkContext and SQLContext as S4 classes. If 
there is no strong reason, we can keep it as is. 
    cc @shivaram.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to