หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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. |
Returns
SparkSession.Builder
Examples
SparkSession.builder.appName("My app")