<?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>topic not able to create temporary tables in unity catalog in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/not-able-to-create-temporary-tables-in-unity-catalog/m-p/64015#M32434</link>
    <description>&lt;P&gt;We are using a unity catalog environment and when trying to create a temporary table the statement errored out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SandeepG_0-1710776912989.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6692iF4774542A53C9BAB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="SandeepG_0-1710776912989.png" alt="SandeepG_0-1710776912989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 15:49:51 GMT</pubDate>
    <dc:creator>SandeepG</dc:creator>
    <dc:date>2024-03-18T15:49:51Z</dc:date>
    <item>
      <title>not able to create temporary tables in unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-create-temporary-tables-in-unity-catalog/m-p/64015#M32434</link>
      <description>&lt;P&gt;We are using a unity catalog environment and when trying to create a temporary table the statement errored out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SandeepG_0-1710776912989.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6692iF4774542A53C9BAB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="SandeepG_0-1710776912989.png" alt="SandeepG_0-1710776912989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 15:49:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-create-temporary-tables-in-unity-catalog/m-p/64015#M32434</guid>
      <dc:creator>SandeepG</dc:creator>
      <dc:date>2024-03-18T15:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: not able to create temporary tables in unity catalog</title>
      <link>https://community.databricks.com/t5/data-engineering/not-able-to-create-temporary-tables-in-unity-catalog/m-p/64136#M32474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/102471"&gt;@SandeepG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please share the need of a temporary table?&lt;/P&gt;&lt;P&gt;Here are the possible ways&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Tables:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;External Tables:&lt;/STRONG&gt; Tables can be created on top of files which are externally located.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Managed Tables:&lt;/STRONG&gt; The usual tables which will be stored and managed automatically as per the schema and catalog configurations.&lt;/LI&gt;&lt;LI&gt;Reference:&amp;nbsp;&lt;A title="How to create Tables" href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-table-using.html" target="_self"&gt;Databricks Tables&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Views:&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;View&lt;/STRONG&gt; is a virtual object storing the result of a custom query.&lt;UL&gt;&lt;LI&gt;Reference: &lt;A title="How to create a normal view" href="https://docs.databricks.com/en/data-governance/unity-catalog/create-views.html" target="_self"&gt;Classic View&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Temporary view&lt;/STRONG&gt; which is limited to the created spark session(within notebook) and &lt;STRONG&gt;global temporary view&lt;/STRONG&gt; which is limited to the cluster(within workspace). Both of these are temporarily stored.&lt;UL&gt;&lt;LI&gt;Reference:&amp;nbsp;&lt;A title="How to create temporary views" href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-view.html" target="_self"&gt;Temp View&lt;/A&gt;s&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Materialized view:&lt;/STRONG&gt; It is like a view but it is physically stored. It can be refreshed whenever needed.&lt;UL&gt;&lt;LI&gt;Reference: &lt;A title="How to create materialized view" href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view.html" target="_self"&gt;Materialized View&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The respective object can be chosen based on the requirement.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Mar 2024 02:52:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/not-able-to-create-temporary-tables-in-unity-catalog/m-p/64136#M32474</guid>
      <dc:creator>Sampath_Kumar</dc:creator>
      <dc:date>2024-03-20T02:52:39Z</dc:date>
    </item>
  </channel>
</rss>

