pyspark.sql.functions.current_catalog# pyspark.sql.functions.current_catalog()[source]# Returns the current catalog. New in version 3.5.0. See also pyspark.sql.functions.current_database() pyspark.sql.functions.current_schema() Examples >>> import pyspark.sql.functions as sf >>> spark.range(1).select(sf.current_catalog()).show() +-----------------+ |current_catalog()| +-----------------+ | spark_catalog| +-----------------+