הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Returns the current catalog.
Syntax
from pyspark.sql import functions as sf
sf.current_catalog()
Examples
Example 1: Get current catalog
from pyspark.sql import functions as sf
spark.range(1).select(sf.current_catalog()).show()
+-----------------+
|current_catalog()|
+-----------------+
| spark_catalog|
+-----------------+