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

    https://github.com/apache/spark/pull/14558#discussion_r74103028
  
    --- Diff: R/pkg/R/SQLContext.R ---
    @@ -257,23 +257,24 @@ createDataFrame.default <- function(data, schema = 
NULL, samplingRatio = 1.0) {
     }
     
     createDataFrame <- function(x, ...) {
    -  dispatchFunc("createDataFrame(data, schema = NULL, samplingRatio = 
1.0)", x, ...)
    +  dispatchFunc("createDataFrame(data, schema = NULL)", x, ...)
     }
     
     #' @rdname createDataFrame
     #' @aliases createDataFrame
     #' @export
     #' @method as.DataFrame default
     #' @note as.DataFrame since 1.6.0
    -as.DataFrame.default <- function(data, schema = NULL, samplingRatio = 1.0) 
{
    --- End diff --
    
    the `.default` methods are here for backward compatibility. 
    (please see  SPARK-16693/PR #14330)
    I don't think we should change the signature - or it will break any 
existing user. perhaps just add the @param and say "Currently not use"?


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