הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Sets the current default database in this session.
Syntax
setCurrentDatabase(dbName: str)
Parameters
| Parameter | Type | Description |
|---|---|---|
dbName |
str | Name of the database to set as the current default. |
Examples
spark.catalog.setCurrentDatabase("default")