Github user yanboliang commented on the pull request:

    https://github.com/apache/spark/pull/10145#issuecomment-162746819
  
    I found that it will complain errors if we use functions with 
```.Deprecated``` after rebase master, so are we still keep the test cases for 
deprecated functions? @sun-rui 
    ```R
    2. Error: read.json()/jsonFile() on a local file returns a DataFrame 
-----------
    (由警告转换成)'jsonFile' is deprecated.
    Use 'read.json' instead.
    See help("Deprecated")
    1: withCallingHandlers(eval(code, new_test_environment), error = 
capture_calls, message = function(c) invokeRestart("muffleMessage"))
    2: eval(code, new_test_environment)
    3: eval(expr, envir, enclos)
    4: jsonFile(sqlContext, c(jsonPath, jsonPath2)) at test_sparkSQL.R:384
    5: .Deprecated("read.json")
    6: warning(paste(msg, collapse = ""), call. = FALSE, domain = NA)
    7: .signalSimpleWarning("'jsonFile' is deprecated.\nUse 'read.json' 
instead.\nSee help(\"Deprecated\")", 
           quote(NULL))
    8: withRestarts({
           .Internal(.signalCondition(simpleWarning(msg, call), msg, call))
           .Internal(.dfltWarn(msg, call))
       }, muffleWarning = function() NULL)
    9: withOneRestart(expr, restarts[[1L]])
    10: doWithOneRestart(return(expr), restart)
    ```


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