Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using CarbonData (for MRS 3.x or Later)/ CarbonData FAQs/ Why Does the Missing Privileges Exception Occur When the Database Is Dropped?
Updated on 2024-10-08 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.