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 |
|---|---|---|
| str | An application name. |
Returns
SparkSession.Builder
Examples
Python
SparkSession.builder.appName("My app")