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

    https://github.com/apache/spark/pull/15239#discussion_r82352445
  
    --- Diff: R/pkg/R/SQLContext.R ---
    @@ -341,11 +342,13 @@ setMethod("toDF", signature(x = "RDD"),
     #' @name read.json
     #' @method read.json default
     #' @note read.json since 1.6.0
    -read.json.default <- function(path) {
    +read.json.default <- function(path, ...) {
       sparkSession <- getSparkSession()
    +  options <- varargsToStrEnv(...)
       # Allow the user to have a more flexible definiton of the text file path
       paths <- as.list(suppressWarnings(normalizePath(path)))
       read <- callJMethod(sparkSession, "read")
    +  read <- callJMethod(read, "options", options)
    --- End diff --
    
    This might be an existing problem but would go down a different code path 
in data sources depending on their implementation...


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to