<?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 DBR 14.1 - foreachBatch in Spark Connect Shared Clusters are not supported in Unity Catalog. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dbr-14-1-foreachbatch-in-spark-connect-shared-clusters-are-not/m-p/50753#M28885</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;I am getting this error on DBR 14.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;AnalysisException&lt;/SPAN&gt;&lt;SPAN&gt;: [UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s): foreachBatch in Spark Connect Shared Clusters are not supported in Unity Catalog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;wstream = df.writeStream.foreachBatch(foreach_batch_function).trigger(processingTime=&lt;/SPAN&gt;&lt;SPAN&gt;'1 seconds'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;query=wstream.start()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The code works for DBR 13.3 LTS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;is it a bug ?&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 20:10:33 GMT</pubDate>
    <dc:creator>samur</dc:creator>
    <dc:date>2023-11-09T20:10:33Z</dc:date>
    <item>
      <title>DBR 14.1 - foreachBatch in Spark Connect Shared Clusters are not supported in Unity Catalog.</title>
      <link>https://community.databricks.com/t5/data-engineering/dbr-14-1-foreachbatch-in-spark-connect-shared-clusters-are-not/m-p/50753#M28885</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I am getting this error on DBR 14.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;AnalysisException&lt;/SPAN&gt;&lt;SPAN&gt;: [UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s): foreachBatch in Spark Connect Shared Clusters are not supported in Unity Catalog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;wstream = df.writeStream.foreachBatch(foreach_batch_function).trigger(processingTime=&lt;/SPAN&gt;&lt;SPAN&gt;'1 seconds'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;query=wstream.start()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The code works for DBR 13.3 LTS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;is it a bug ?&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:10:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dbr-14-1-foreachbatch-in-spark-connect-shared-clusters-are-not/m-p/50753#M28885</guid>
      <dc:creator>samur</dc:creator>
      <dc:date>2023-11-09T20:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: DBR 14.1 - foreachBatch in Spark Connect Shared Clusters are not supported in Unity Catalog.</title>
      <link>https://community.databricks.com/t5/data-engineering/dbr-14-1-foreachbatch-in-spark-connect-shared-clusters-are-not/m-p/55343#M30314</link>
      <description>&lt;P&gt;Hi - Can you provide some more information on this?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"This limitation is specific to the version you’re using."... was this removed in 14.1 but worked in older DBR's? Is it going to be returning? It's really getting difficult to keep up with these run time changes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 22:47:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dbr-14-1-foreachbatch-in-spark-connect-shared-clusters-are-not/m-p/55343#M30314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-15T22:47:27Z</dc:date>
    </item>
  </channel>
</rss>

