Skip to content

Dataset API — Dataset Operators

Dataset API is a set of operators with typed and untyped transformations, and actions to work with a structured query (as a Dataset) as a whole.

Dataset Operators (Transformations and Actions)

explain

// Uses simple mode
explain(): Unit
// Uses extended or simple mode
explain(
  extended: Boolean): Unit
explain(
  mode: String): Unit

explain

A basic action to display the logical and physical plans of the Dataset, i.e. displays the logical and physical plans (with optional cost and codegen summaries) to the standard output