py4j.security.Py4JSecurityException: Method public java.lang.String org.apache.spark.sql.catalog.Database.name() is not whitelisted on class class org.apache.spark.sql.catalog.Database
Hi @Purnima Bhatia , I faced a similar error for a different command when I was using a wrong type of cluster access mode. You can try to create a different cluster with different access mode and check. I might be wrong but try and check this.
Welcome to Databricks Community: Lets learn, network and celebrate together
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.