<?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 Re: How to create temporary table in databricks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/81690#M3551</link>
    <description>&lt;P&gt;I see, thanks for sharing, can you mark the solution which worked for you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/114593"&gt;@abueno&lt;/a&gt;&amp;nbsp;as Accepted.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Aug 2024 00:03:35 GMT</pubDate>
    <dc:creator>NandiniN</dc:creator>
    <dc:date>2024-08-03T00:03:35Z</dc:date>
    <item>
      <title>How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/42421#M828</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a requirement where I need to create &lt;STRONG&gt;temporary table&lt;/STRONG&gt; not temporary view.&lt;/P&gt;&lt;P&gt;Can you tell me how to create temporary table in data bricks ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:17:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/42421#M828</guid>
      <dc:creator>mano7438</dc:creator>
      <dc:date>2023-08-28T07:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/59324#M2482</link>
      <description>&lt;P&gt;Can you share why you want a table instead of a view? I use createOrReplaceGlobalTempView if I need my temp view in other notebooks.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.sql.DataFrame.createGlobalTempView.html" target="_blank"&gt;https://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.sql.DataFrame.createGlobalTempView.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:13:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/59324#M2482</guid>
      <dc:creator>StephanieAlba</dc:creator>
      <dc:date>2024-02-05T19:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/67768#M2955</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-New-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;A id="link_7" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87271" target="_self" aria-label="View Profile of mano7438"&gt;&lt;SPAN class=""&gt;mano7438,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;CREATE TEMPORARY TABLE my_table&lt;BR /&gt;USING &amp;lt;CSV&amp;gt;&lt;BR /&gt;OPTIONS (&lt;BR /&gt; &amp;nbsp;&lt;WBR /&gt;path 'dbfs:/&amp;lt;path-to-your-file&amp;gt;/file.tsv',&lt;BR /&gt; &amp;nbsp;&lt;WBR /&gt;delimiter '\t',&lt;BR /&gt; &amp;nbsp;&lt;WBR /&gt;header 'true'&lt;BR /&gt;)&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;CREATE TEMPORARY TABLE temp_table (id int) using parquet;&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;Note: CREATE TEMPORARY TABLE without a provider is not allowed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 04:14:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/67768#M2955</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-05-01T04:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/67774#M2956</link>
      <description>&lt;P&gt;I just learnt, the above is a LEGACY support and hence must not be used. T&lt;SPAN&gt;his isn't supported syntax, so there would be a lot of restrictions on the usage of this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Internally it is just a view and hence we should go for create temp view instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know your question was sometime back(so for newer visits to this query), I would like to understand, are you wanting to migrate and it blocks you somehow?&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 05:12:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/67774#M2956</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-05-01T05:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/81685#M3550</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This worked for me.&amp;nbsp; using "TABLE" was restricted for me.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE or replace&lt;/SPAN&gt; &lt;SPAN&gt;TEMPORARY VIEW&lt;/SPAN&gt; &lt;SPAN&gt;details&lt;/SPAN&gt; &lt;SPAN&gt;AS ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Aug 2024 19:22:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/81685#M3550</guid>
      <dc:creator>abueno</dc:creator>
      <dc:date>2024-08-02T19:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/81690#M3551</link>
      <description>&lt;P&gt;I see, thanks for sharing, can you mark the solution which worked for you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/114593"&gt;@abueno&lt;/a&gt;&amp;nbsp;as Accepted.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 00:03:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/81690#M3551</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2024-08-03T00:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/127193#M10460</link>
      <description>&lt;P&gt;When there is a complex logic which takes long time to process using TEMP views for further processing will take processing time of the calling script + the time of the TEMP view which is not optimal in DBMS. SAme effect or slower than writing the temp view code as a sub query....&lt;/P&gt;&lt;P&gt;If it is a TEMP TABLE then the data can be reused as much as required and will be auto discarded at end of session.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 16:53:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/127193#M10460</guid>
      <dc:creator>Raja_DBA</dc:creator>
      <dc:date>2025-08-01T16:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create temporary table in databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/127196#M10461</link>
      <description>&lt;P&gt;Thank you for the syntax.&lt;BR /&gt;How do I insert data into this created temp table. When I use SQL syntax it gives me an error message..&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;AnalysisException: Can only write data to relations with a single path.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 17:04:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-create-temporary-table-in-databricks/m-p/127196#M10461</guid>
      <dc:creator>Raja_DBA</dc:creator>
      <dc:date>2025-08-01T17:04:24Z</dc:date>
    </item>
  </channel>
</rss>

