Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using CarbonData/ Common Issues About CarbonData/ Why Does the Missing Privileges Exception Occur When the Database Is Dropped?
Updated on 2024-10-25 GMT+08:00

Why Does the Missing Privileges Exception Occur When the Database Is Dropped?

Question

Why does the following exception occur when the database is dropped?

Error: org.apache.spark.sql.AnalysisException: Missing Privileges;(State=,code=0)

Answer

This error occurs when the database owner runs the drop database <database_name> cascade command and tables created by other users are included.