<?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 Undescriptive error when trying to insert overwrite into a table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11288#M6289</link>
    <description>&lt;P&gt;I have a query that I'm trying to insert overwrite into a table. In an effort to try and speed up the query I added a range join hint. After adding it I started getting the error below.&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20230118_104626"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/841iB59F8C19D26035AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20230118_104626" alt="Screenshot_20230118_104626" /&gt;&lt;/span&gt;I can get around this though by creating a temporary view of the same query and caching that temporary view. It will then allow me to insert overwrite into the table.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 16:57:36 GMT</pubDate>
    <dc:creator>cmilligan</dc:creator>
    <dc:date>2023-01-18T16:57:36Z</dc:date>
    <item>
      <title>Undescriptive error when trying to insert overwrite into a table</title>
      <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11288#M6289</link>
      <description>&lt;P&gt;I have a query that I'm trying to insert overwrite into a table. In an effort to try and speed up the query I added a range join hint. After adding it I started getting the error below.&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20230118_104626"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/841iB59F8C19D26035AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20230118_104626" alt="Screenshot_20230118_104626" /&gt;&lt;/span&gt;I can get around this though by creating a temporary view of the same query and caching that temporary view. It will then allow me to insert overwrite into the table.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 16:57:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11288#M6289</guid>
      <dc:creator>cmilligan</dc:creator>
      <dc:date>2023-01-18T16:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Undescriptive error when trying to insert overwrite into a table</title>
      <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11289#M6290</link>
      <description>&lt;P&gt;Could you please check for the datatype of your source and target table.&lt;/P&gt;&lt;P&gt;There might be mismatch&amp;nbsp;between both.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 06:50:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11289#M6290</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2023-01-19T06:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Undescriptive error when trying to insert overwrite into a table</title>
      <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11290#M6291</link>
      <description>&lt;P&gt;Both are the same&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 13:57:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11290#M6291</guid>
      <dc:creator>cmilligan</dc:creator>
      <dc:date>2023-01-19T13:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Undescriptive error when trying to insert overwrite into a table</title>
      <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11291#M6292</link>
      <description>&lt;P&gt;Could you share your code and the full error stack trace please? Check the driver logs for the full stack trace. &lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 22:11:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/11291#M6292</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-01-30T22:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Undescriptive error when trying to insert overwrite into a table</title>
      <link>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/106514#M42506</link>
      <description>&lt;P&gt;hi , can u help me in this&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this query to create a csv in a volume named&amp;nbsp;test_volsrr that i created&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE DIRECTORY '/Volumes/DATAMAX_DATABRICKS/staging/test_volsrr'&lt;/P&gt;&lt;P&gt;USING CSV OPTIONS ( 'delimiter' = ',' , 'header' = 'true' )&lt;/P&gt;&lt;P&gt;SELECT * FROM staging.extract1gb&lt;/P&gt;&lt;P&gt;DISTRIBUTE BY COALESCE( 1 ); &amp;nbsp;&lt;/P&gt;&lt;P&gt;i added&amp;nbsp;DISTRIBUTE BY COALESCE(1) so that a single csv gets generated instead of multiple csvs , the size of&amp;nbsp;extract1gb table is 1gb but the csv which is getting created is around 230gb , due to this it is taking more than an hour to execute . Can some pls explain this issue and a solution to generate the csv of optimal size so that execution becomes faster . I dont want to use pyspark .&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:59:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/undescriptive-error-when-trying-to-insert-overwrite-into-a-table/m-p/106514#M42506</guid>
      <dc:creator>subhadeep</dc:creator>
      <dc:date>2025-01-21T14:59:29Z</dc:date>
    </item>
  </channel>
</rss>

