<?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 Vacuuming clones in USER_ISOLATION mode and ThreadPool Executor in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/vacuuming-clones-in-user-isolation-mode-and-threadpool-executor/m-p/131721#M49209</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I run my process on a shared, interactive cluster (data security mode: USER_ISOLATION).&lt;/P&gt;&lt;P&gt;I run operations on multiple tables having each of them as a separate thread, pseudo-code :&lt;/P&gt;&lt;P&gt;try:&amp;nbsp;&lt;/P&gt;&lt;P&gt;truncate target_table&lt;/P&gt;&lt;P&gt;vacuum target_table (retain 0 hours with duration check spark conf set to 'false')&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop target_table&lt;/P&gt;&lt;P&gt;create table target_table deep/shallow clone source_table timestamp as of '&amp;lt;timestamp&amp;gt;'&lt;/P&gt;&lt;P&gt;I don't have MODIFY privilege on the source_table but&amp;nbsp; I have every other permission, I have ALL PRIVILEGES and MANAGE on target_table.&lt;/P&gt;&lt;P&gt;The only operation when running via ThreadPoolExecutor that fails is vacuuming due to lack of MODIFY permission on source_table according to the output of the error - just as if I used the SINGLE_USER mode (a dedicated cluster) but I'm using USER_ISOLATION.&lt;/P&gt;&lt;P&gt;What might be interesting is that in the same run when I print&amp;nbsp; the vacuum statement that failed and pass it in a new cell in the same notebook on the same cluster and run it - it would run successfully.&lt;/P&gt;&lt;P&gt;Is it a bug?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radoslaw&lt;/P&gt;</description>
    <pubDate>Fri, 12 Sep 2025 01:01:07 GMT</pubDate>
    <dc:creator>radhag</dc:creator>
    <dc:date>2025-09-12T01:01:07Z</dc:date>
    <item>
      <title>Vacuuming clones in USER_ISOLATION mode and ThreadPool Executor</title>
      <link>https://community.databricks.com/t5/data-engineering/vacuuming-clones-in-user-isolation-mode-and-threadpool-executor/m-p/131721#M49209</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I run my process on a shared, interactive cluster (data security mode: USER_ISOLATION).&lt;/P&gt;&lt;P&gt;I run operations on multiple tables having each of them as a separate thread, pseudo-code :&lt;/P&gt;&lt;P&gt;try:&amp;nbsp;&lt;/P&gt;&lt;P&gt;truncate target_table&lt;/P&gt;&lt;P&gt;vacuum target_table (retain 0 hours with duration check spark conf set to 'false')&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop target_table&lt;/P&gt;&lt;P&gt;create table target_table deep/shallow clone source_table timestamp as of '&amp;lt;timestamp&amp;gt;'&lt;/P&gt;&lt;P&gt;I don't have MODIFY privilege on the source_table but&amp;nbsp; I have every other permission, I have ALL PRIVILEGES and MANAGE on target_table.&lt;/P&gt;&lt;P&gt;The only operation when running via ThreadPoolExecutor that fails is vacuuming due to lack of MODIFY permission on source_table according to the output of the error - just as if I used the SINGLE_USER mode (a dedicated cluster) but I'm using USER_ISOLATION.&lt;/P&gt;&lt;P&gt;What might be interesting is that in the same run when I print&amp;nbsp; the vacuum statement that failed and pass it in a new cell in the same notebook on the same cluster and run it - it would run successfully.&lt;/P&gt;&lt;P&gt;Is it a bug?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radoslaw&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 01:01:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/vacuuming-clones-in-user-isolation-mode-and-threadpool-executor/m-p/131721#M49209</guid>
      <dc:creator>radhag</dc:creator>
      <dc:date>2025-09-12T01:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vacuuming clones in USER_ISOLATION mode and ThreadPool Executor</title>
      <link>https://community.databricks.com/t5/data-engineering/vacuuming-clones-in-user-isolation-mode-and-threadpool-executor/m-p/132555#M49545</link>
      <description>&lt;P&gt;This is most likely a bug. It certainly&amp;nbsp;is unexpected and should be reported to Databricks support or your platform administrator for clarification and remediation.&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;As a temporary workaround, running vacuum commands outside of threaded contexts or scheduling them sequentially may avoid the issue until a fix is implemented.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 19 Sep 2025 12:12:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/vacuuming-clones-in-user-isolation-mode-and-threadpool-executor/m-p/132555#M49545</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-09-19T12:12:41Z</dc:date>
    </item>
  </channel>
</rss>

