<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error: Error while compiling statement: FAILED: SemanticException Unable to fetch table table_name. null (state=42000,code=40000) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-Error-while-compiling-statement-FAILED/m-p/278413#M208012</link>
    <description>&lt;P&gt;Take MySQL backup before doing this operation.&lt;/P&gt;&lt;P&gt;Go to MySQL&lt;/P&gt;&lt;P&gt;use &amp;lt;DB&amp;gt;;&lt;BR /&gt;select * from TBLS where tbl_name = '&amp;lt;table_name&amp;gt;';&lt;/P&gt;&lt;P&gt;Make a note of&amp;nbsp;TBL_ID from the table and delete entries&amp;nbsp;from TABLE_PARAMS , TBL_COL_PRIVS , TBL_PRIVS using where clause TBL_ID&lt;/P&gt;&lt;P&gt;After getting this done, try the below command.&lt;/P&gt;&lt;P&gt;delete from TBLS where tbl_name = '&amp;lt;table_name&amp;gt;';&lt;/P&gt;&lt;P&gt;Now open hive shell and check for the table.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 10:03:07 GMT</pubDate>
    <dc:creator>varma1830</dc:creator>
    <dc:date>2019-09-27T10:03:07Z</dc:date>
  </channel>
</rss>

