spark catalog whitelisted for shared clusters with unityCatalog

Chandra Doredla 30 Reputation points
2023-05-15T06:37:13.7866667+00:00

I have recently initiated unity catalog for my workspace with the use of shared clusters, now I want to check if a data base exists using the spark.catalog.databaseExists() but the py4j error says the class is not whitelisted.

The issue is when using the shared or single purpose cluster but not with the old clusters.

Thank you

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,971 questions
{count} votes