<?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 Managed &amp;amp; External table in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Managed-amp-External-table/m-p/59821#M67874</link>
    <description>&lt;P&gt;Hi...I am not able to get the difference between managed &amp;amp; external table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know the difference comes when dropping the table. I don't understand what you mean by the data and metadata is deleted in internal and only metadata is deleted in external tables. Can anyone please explain me, how to check it in backend.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:13:50 GMT</pubDate>
    <dc:creator>Geek007</dc:creator>
    <dc:date>2022-09-16T12:13:50Z</dc:date>
    <item>
      <title>Managed &amp; External table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Managed-amp-External-table/m-p/59821#M67874</link>
      <description>&lt;P&gt;Hi...I am not able to get the difference between managed &amp;amp; external table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know the difference comes when dropping the table. I don't understand what you mean by the data and metadata is deleted in internal and only metadata is deleted in external tables. Can anyone please explain me, how to check it in backend.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:13:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Managed-amp-External-table/m-p/59821#M67874</guid>
      <dc:creator>Geek007</dc:creator>
      <dc:date>2022-09-16T12:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Managed &amp; External table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Managed-amp-External-table/m-p/60024#M67875</link>
      <description>A hive table consists the following:&lt;BR /&gt;&lt;BR /&gt;1. metadata info (all table and column definitions and HDFS location)&lt;BR /&gt;2. actual HDFS data stored in HDFS&lt;BR /&gt;&lt;BR /&gt;If you delete a managed table, both 1 and 2 will be deleted.&lt;BR /&gt;&lt;BR /&gt;However, if you delete an external table, then only 1 will be deleted, meaning, the table reference will be removed in Hive's backend database (show tables will not return the table and you can't query the table any more). The underlining HDFS file will remain on HDFS path untouched.&lt;BR /&gt;&lt;BR /&gt;To confirm this, you can check where the backend database is stored. If it is mysql, simply login and check the table under TBLS and check if you can query the table (mysql table, not hive table):&lt;BR /&gt;&lt;BR /&gt;SELECT * FROM TBLS WHERE TBL_NAME = "{your_table_name}";&lt;BR /&gt;&lt;BR /&gt;Hope above helps.</description>
      <pubDate>Mon, 18 Sep 2017 06:52:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Managed-amp-External-table/m-p/60024#M67875</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2017-09-18T06:52:17Z</dc:date>
    </item>
  </channel>
</rss>

