Skip to main content

appName (SparkSession.Builder)

Sets a name for the application, which is shown in the Spark web UI. If no application name is set, a randomly generated name is used.

Syntax​

appName(name)

Parameters​

Parameter

Type

Description

name

str

An application name.

Parameter

Type

Description

name

str

An application name.

Returns​

SparkSession.Builder

Examples​

Python
SparkSession.builder.appName("My app")