<?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 &amp;amp; Bigquery in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-amp-bigquery/m-p/58775#M6425</link>
    <description>&lt;P&gt;Databricks is packaging a old version of big-query jar(Databricks also repackaged and created a fat jar), and our application needs a latest jar. Now the latest jar depends on &lt;STRONG&gt;spark-bigquery-connector.properties&amp;nbsp;&lt;/STRONG&gt; file for a property &lt;STRONG&gt;scala.binary.version&lt;/STRONG&gt;, this property is not available on old version of jars.&lt;/P&gt;&lt;P&gt;As databricks runtime is always loading the internal packaged jars first, its own property file is loaded too.&lt;/P&gt;&lt;P&gt;While Our code(The latest bigquery jar internal) looks for the specific property (scala.binary.version), its not available and app fails to start. Any suggestion to overcome this.&lt;/P&gt;&lt;P&gt;As a workaround,&lt;/P&gt;&lt;P&gt;1. Relocated the all the bigquery classes (We cant relocate the internally referenced properties files path )&lt;/P&gt;&lt;P&gt;2. Removed the class file from bigquery jar which does this property check and added our own class implementaion and bundled back to application fat jar&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 04:17:15 GMT</pubDate>
    <dc:creator>BabuMahesh</dc:creator>
    <dc:date>2024-01-31T04:17:15Z</dc:date>
    <item>
      <title>Databricks &amp; Bigquery</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-amp-bigquery/m-p/58775#M6425</link>
      <description>&lt;P&gt;Databricks is packaging a old version of big-query jar(Databricks also repackaged and created a fat jar), and our application needs a latest jar. Now the latest jar depends on &lt;STRONG&gt;spark-bigquery-connector.properties&amp;nbsp;&lt;/STRONG&gt; file for a property &lt;STRONG&gt;scala.binary.version&lt;/STRONG&gt;, this property is not available on old version of jars.&lt;/P&gt;&lt;P&gt;As databricks runtime is always loading the internal packaged jars first, its own property file is loaded too.&lt;/P&gt;&lt;P&gt;While Our code(The latest bigquery jar internal) looks for the specific property (scala.binary.version), its not available and app fails to start. Any suggestion to overcome this.&lt;/P&gt;&lt;P&gt;As a workaround,&lt;/P&gt;&lt;P&gt;1. Relocated the all the bigquery classes (We cant relocate the internally referenced properties files path )&lt;/P&gt;&lt;P&gt;2. Removed the class file from bigquery jar which does this property check and added our own class implementaion and bundled back to application fat jar&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 04:17:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-amp-bigquery/m-p/58775#M6425</guid>
      <dc:creator>BabuMahesh</dc:creator>
      <dc:date>2024-01-31T04:17:15Z</dc:date>
    </item>
  </channel>
</rss>

