explain,DataFrame-method {SparkR}R Documentation

Explain

Description

Print the logical and physical Catalyst plans to the console for debugging.

Usage

## S4 method for signature 'DataFrame'
explain(x, extended = FALSE)

explain(x, ...)

Arguments

x

A SparkSQL DataFrame

extended

Logical. If extended is False, explain() only prints the physical plan.

Examples

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

[Package SparkR version 1.4.1 Index]