explain {SparkR} | R Documentation |
Print the logical and physical Catalyst plans to the console for debugging.
## S4 method for signature 'DataFrame' explain(x, extended = FALSE) explain(x, ...)
x |
A SparkSQL DataFrame |
extended |
Logical. If extended is False, explain() only prints the physical plan. |
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D explain(df, TRUE)
## End(Not run)