Skip to main content

active

Returns the active or default SparkSession for the current thread, returned by the builder.

Syntax

SparkSession.active()

Returns

SparkSession

On this page