<?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 Databricks Connect and DBR 16.4 LTS @ Scala 2.13 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120830#M46254</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;we're running Scala jobs on Databricks and I was eager to finally upgrade to Scala 2.13. However, Databricks Connect 16.4.x doesn't handle Scala versioning, so all dependencies are tied to Scala 2.13. It's rather tedious to exclude all 2.12 dependencies. I'm also encountering the issue that the project wants to use Scala 2.13.16 (the latest version), but DBR 16.4 runs using Scala 2.13.10.&lt;/P&gt;&lt;P&gt;Will there be a Scala 2.13-specific release of Databricks Connect? Or is there a different way of running my project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 14:48:20 GMT</pubDate>
    <dc:creator>dollyb</dc:creator>
    <dc:date>2025-06-03T14:48:20Z</dc:date>
    <item>
      <title>Databricks Connect and DBR 16.4 LTS @ Scala 2.13</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120830#M46254</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;we're running Scala jobs on Databricks and I was eager to finally upgrade to Scala 2.13. However, Databricks Connect 16.4.x doesn't handle Scala versioning, so all dependencies are tied to Scala 2.13. It's rather tedious to exclude all 2.12 dependencies. I'm also encountering the issue that the project wants to use Scala 2.13.16 (the latest version), but DBR 16.4 runs using Scala 2.13.10.&lt;/P&gt;&lt;P&gt;Will there be a Scala 2.13-specific release of Databricks Connect? Or is there a different way of running my project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 14:48:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120830#M46254</guid>
      <dc:creator>dollyb</dc:creator>
      <dc:date>2025-06-03T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Connect and DBR 16.4 LTS @ Scala 2.13</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120849#M46259</link>
      <description>&lt;P&gt;Here is some information to consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="paragraph"&gt;Databricks Connect currently does not fully support Scala 2.13. The support for Scala 2.13 in Databricks Connect is planned for its version associated with DBR 17.0, expected in early June 2025. Databricks Connect's dependencies and compatibility requirements necessitate careful version alignment between Scala versions used in development and runtime configurations.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;For alternative solutions to running your project with Scala 2.13 on DBR 16.4, you can consider the following approaches:&lt;/DIV&gt;
&lt;OL start="1"&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Use Direct Cluster Execution:&lt;/STRONG&gt; Since DBR 16.4 supports both Scala 2.12 and 2.13, you can deploy jobs directly on the cluster using the Scala 2.13 runtime.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Address Dependency Conflicts Manually:&lt;/STRONG&gt; As suggested in migration guides, updating build files to resolve dependency conflicts between Scala 2.12 and 2.13 may involve manual adjustments such as excluding incompatible libraries or adding library shading techniques.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class="paragraph"&gt;&lt;STRONG&gt;Cross-Build Projects:&lt;/STRONG&gt; If immediate Databricks Connect compatibility is crucial, cross-compile your code with Scala 2.12 to maintain compatibility while leveraging DBR 16.4's flexibility to run Scala 2.13-based tests.&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV class="paragraph"&gt;These measures can help mitigate dependency management issues and reduce manual exclusions until full support for Scala 2.13 is released in Databricks Connect.&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph"&gt;Cheers, Lou.&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jun 2025 19:47:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120849#M46259</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-06-03T19:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Connect and DBR 16.4 LTS @ Scala 2.13</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120881#M46266</link>
      <description>&lt;P&gt;Hi Lou,&lt;/P&gt;&lt;P&gt;thanks for your detailed answer!&lt;/P&gt;&lt;P&gt;So far I'm trying option 2, but exchanging so many dependencies seems like a strange thing to do and feels like a g-ame of whack-a-mole as new build errors pop up. If the dependency situations gets resolved with DBR 17, it might be acceptable.&lt;/P&gt;&lt;P&gt;I guess I'll try option 3 as well and cross-build my project.&lt;/P&gt;&lt;P&gt;What do you mean with option 1? Not using Databricks Connect at all? In that case, do I just use normal Spark (3.5.2) dependencies to run my job on the cluster?&amp;nbsp;Do I use Spark Connect's SparkSession or plain old SparkContext?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 05:31:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120881#M46266</guid>
      <dc:creator>dollyb</dc:creator>
      <dc:date>2025-06-04T05:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Connect and DBR 16.4 LTS @ Scala 2.13</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120904#M46271</link>
      <description>&lt;P&gt;Runtime 17.0 is out in beta right now and I expect it to GA in the near future. Keep an eye out for the runtime release notes. Once they are released you will be able to see what's present and hopefully (fingers crossed) your dependency issue will be resolved.&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/release-notes/runtime" target="_blank"&gt;https://docs.databricks.com/aws/en/release-notes/runtime&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:16:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120904#M46271</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-06-04T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Connect and DBR 16.4 LTS @ Scala 2.13</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120917#M46277</link>
      <description>&lt;P&gt;I'm not sure we can migrate to 17 before it reaches LTS status, and there's also Spark 4.0 to migrate to. So I'd like to just use Scala 2.13 on 16.4 for now. It seems that getting rid of Databricks Connect solves my dependency issues and also issues with Databricks overrides of Spark and Delta APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:34:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-dbr-16-4-lts-scala-2-13/m-p/120917#M46277</guid>
      <dc:creator>dollyb</dc:creator>
      <dc:date>2025-06-04T12:34:41Z</dc:date>
    </item>
  </channel>
</rss>

