pyspark.sql.functions.
current_catalog
Returns the current catalog.
New in version 3.5.0.
Examples
>>> spark.range(1).select(current_catalog()).show() +-----------------+ |current_catalog()| +-----------------+ | spark_catalog| +-----------------+
previous
pyspark.sql.functions.bitmap_or_agg
next
pyspark.sql.functions.current_database