<?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 Will Unsetting delta.targetFileSize During Data Load Cause Any Issues? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126925#M47802</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;If I unset the Spark config delta.targetFileSize (e.g., using alter) while a data load is in progress (batch or streaming), will it cause any issues?&lt;/P&gt;&lt;P&gt;Will the load fail or behave inconsistently due to the config being changed mid-process?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jul 2025 10:33:00 GMT</pubDate>
    <dc:creator>pooja_bhumandla</dc:creator>
    <dc:date>2025-07-30T10:33:00Z</dc:date>
    <item>
      <title>Will Unsetting delta.targetFileSize During Data Load Cause Any Issues?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126925#M47802</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;If I unset the Spark config delta.targetFileSize (e.g., using alter) while a data load is in progress (batch or streaming), will it cause any issues?&lt;/P&gt;&lt;P&gt;Will the load fail or behave inconsistently due to the config being changed mid-process?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 10:33:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126925#M47802</guid>
      <dc:creator>pooja_bhumandla</dc:creator>
      <dc:date>2025-07-30T10:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Will Unsetting delta.targetFileSize During Data Load Cause Any Issues?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126945#M47810</link>
      <description>&lt;P class="p1"&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/170125"&gt;@pooja_bhumandla&lt;/a&gt;&amp;nbsp;&amp;nbsp;delta.targetFileSize controls the file size for operations including &lt;A href="https://docs.databricks.com/aws/en/delta/optimize" target="_blank"&gt;&lt;SPAN class="s1"&gt;optimise&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/delta/data-skipping" target="_blank"&gt;&lt;SPAN class="s1"&gt;Z-order&lt;/SPAN&gt;&lt;/A&gt;,&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/delta/tune-file-size#auto-compact" target="_blank"&gt;&lt;SPAN class="s1"&gt;auto compaction&lt;/SPAN&gt;&lt;/A&gt;, and&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/delta/tune-file-size#optimized-writes" target="_blank"&gt;&lt;SPAN class="s1"&gt;optimised writes&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P class="p1"&gt;Unsetting this config during data load will not cause any failures or behave inconsistently. After unsetting, the above operations will use the default value as the target file sizes.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 12:40:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126945#M47810</guid>
      <dc:creator>mani_22</dc:creator>
      <dc:date>2025-07-30T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Will Unsetting delta.targetFileSize During Data Load Cause Any Issues?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126949#M47811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;pooja_bhumandla,&lt;/P&gt;&lt;P&gt;How are you doing today? In general, changing the delta.targetFileSize config while a batch or streaming load is in progress won’t crash your job, but it may lead to inconsistent behavior during that specific run. Spark jobs usually pick up the config at the start of execution, so if you unset or change it mid-load, only the subsequent operations or triggers might reflect the new setting. This could result in a mix of file sizes being written to Delta, which might not be ideal if you’re aiming for consistent file sizing. So, while it's not likely to fail your job outright, it’s best to change such configurations between loads or restarts to avoid unexpected results. Hope that helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 13:28:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-unsetting-delta-targetfilesize-during-data-load-cause-any/m-p/126949#M47811</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-07-30T13:28:43Z</dc:date>
    </item>
  </channel>
</rss>

