Applies to:
Databricks SQL
Databricks Runtime
Returns the current catalog.
Syntax
current_catalog()
Arguments
This function takes no argument.
Returns
A STRING.
Examples
> SELECT current_catalog();
spark_catalog
current_catalog functionApplies to:
Databricks SQL
Databricks Runtime
Returns the current catalog.
current_catalog()
This function takes no argument.
A STRING.
> SELECT current_catalog();
spark_catalog