Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

16 lines
1.2 KiB
HTML

<a name="mrs_01_1470"></a><a name="mrs_01_1470"></a>
<h1 class="topictitle1">Why Missing Privileges Exception is Reported When I Perform Drop Operation on Databases?</h1>
<div id="body1595920216914"><div class="section" id="mrs_01_1470__sed9d9035c51e4ccdb0f246ea781adde0"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1470__afdbfc0ed71a24ca3b4e5d361a4f9125d">Why drop database cascade is throwing the following exception?</p>
</div>
<pre class="screen" id="mrs_01_1470__s03c476eee19f4cf5b0ba764f50a2d47c">Error: org.apache.spark.sql.AnalysisException: Missing Privileges;(State=,code=0)</pre>
<div class="section" id="mrs_01_1470__s4638616613c54afca8d93b214ac17c93"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1470__a970fa858dd5e476084965c80501e5c50">This error is thrown when the owner of the database performs <i><b><span class="cmdname" style="font-family:Arial" id="mrs_01_1470__c2e26c15d5afd4f489252d4ee2b83ec6b">drop database &lt;database_name&gt; cascade</span></b></i> which contains tables created by other users.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1457.html">CarbonData FAQ</a></div>
</div>
</div>