<?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: Is it possible to use both `Dynamic partition overwrites` and `overwriteSchema` options when writing a DataFrame to a Delta table?&amp;quot; in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3401#M124</link>
    <description>&lt;P&gt;Hi @Thanapat Sontayasara​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Werner Stinckens​'s response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly? If not, would you be happy to give us more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 10:26:22 GMT</pubDate>
    <dc:creator>Vartika</dc:creator>
    <dc:date>2023-06-09T10:26:22Z</dc:date>
    <item>
      <title>Is it possible to use both `Dynamic partition overwrites` and `overwriteSchema` options when writing a DataFrame to a Delta table?"</title>
      <link>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3399#M122</link>
      <description>&lt;P&gt;In my ETL case, I want to be able to adjust the table schema as needed, meaning the number of columns may increase or decrease depending on the ETL script. Additionally, I would like to use dynamic partition overwrite to avoid potential errors when using the replacewhere option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But based on the information provided in the document "&lt;A href="https://docs.databricks.com/delta/selective-overwrite.html#dynamic-partition-overwrites" alt="https://docs.databricks.com/delta/selective-overwrite.html#dynamic-partition-overwrites" target="_blank"&gt;&lt;B&gt;&lt;I&gt;Selectively overwrite data with Delta Lake | Databricks on AWS&lt;/I&gt;&lt;/B&gt;&lt;/A&gt;" it seems that this functionality is not yet supported. &lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/95iEB3F66F11C0BB9D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Is there a solution for this?&lt;/P&gt;&lt;P&gt;I appreciate your support. &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Databricks Runtime&lt;/B&gt;: 11.3 LTS (includes Apache Spark 3.3.0, Scala 2.12)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 04:12:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3399#M122</guid>
      <dc:creator>Thanapat_S</dc:creator>
      <dc:date>2023-06-08T04:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both `Dynamic partition overwrites` and `overwriteSchema` options when writing a DataFrame to a Delta table?"</title>
      <link>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3400#M123</link>
      <description>&lt;P&gt;No and I don't see how. With Dynamic Partition Overwrite, existing logical partitions for which the write does not contain data remain unchanged.&lt;/P&gt;&lt;P&gt;This assumes an identical schema for all partitions, which is not guaranteed with overwriteSchema.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 08:37:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3400#M123</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-06-08T08:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both `Dynamic partition overwrites` and `overwriteSchema` options when writing a DataFrame to a Delta table?"</title>
      <link>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3401#M124</link>
      <description>&lt;P&gt;Hi @Thanapat Sontayasara​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Werner Stinckens​'s response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly? If not, would you be happy to give us more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 10:26:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/is-it-possible-to-use-both-dynamic-partition-overwrites-and/m-p/3401#M124</guid>
      <dc:creator>Vartika</dc:creator>
      <dc:date>2023-06-09T10:26:22Z</dc:date>
    </item>
  </channel>
</rss>

