<?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 Re: Using spark jars using databricks-connect&amp;gt;=13.0 in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/using-spark-jars-using-databricks-connect-gt-13-0/m-p/79187#M35696</link>
    <description>&lt;P&gt;Hello, I have a question on this. I have a jar file which is installed on my Databricks cluster. Do you happen to know how can I access the spark session running in databricks within my code (which later turns into jar)&lt;/P&gt;&lt;P&gt;I have tried using SparkSession.active and SparkSession.getActiveSession but I get error that these methods are not supported.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 07:21:05 GMT</pubDate>
    <dc:creator>ayush19</dc:creator>
    <dc:date>2024-07-18T07:21:05Z</dc:date>
    <item>
      <title>Using spark jars using databricks-connect&gt;=13.0</title>
      <link>https://community.databricks.com/t5/data-engineering/using-spark-jars-using-databricks-connect-gt-13-0/m-p/54647#M30138</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;With the newest version of databricks-connect, I cannot configure the extra jars I want to use. In the older version, I did that via&lt;/P&gt;&lt;PRE&gt;spark = SparkSession.builder.appName(&lt;SPAN class=""&gt;'DataFrame'&lt;/SPAN&gt;).\
        config(&lt;SPAN class=""&gt;'spark.jars.packages'&lt;/SPAN&gt;,&lt;SPAN class=""&gt;'org.apache.spark:spark-avro_2.12:3.3.0'&lt;/SPAN&gt;).getOrCreate()&lt;/PRE&gt;&lt;P&gt;How can I configure this with databricks-connect&amp;gt;=13.0?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Dec 2023 12:25:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-spark-jars-using-databricks-connect-gt-13-0/m-p/54647#M30138</guid>
      <dc:creator>Lazloo</dc:creator>
      <dc:date>2023-12-05T12:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using spark jars using databricks-connect&gt;=13.0</title>
      <link>https://community.databricks.com/t5/data-engineering/using-spark-jars-using-databricks-connect-gt-13-0/m-p/79187#M35696</link>
      <description>&lt;P&gt;Hello, I have a question on this. I have a jar file which is installed on my Databricks cluster. Do you happen to know how can I access the spark session running in databricks within my code (which later turns into jar)&lt;/P&gt;&lt;P&gt;I have tried using SparkSession.active and SparkSession.getActiveSession but I get error that these methods are not supported.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 07:21:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/using-spark-jars-using-databricks-connect-gt-13-0/m-p/79187#M35696</guid>
      <dc:creator>ayush19</dc:creator>
      <dc:date>2024-07-18T07:21:05Z</dc:date>
    </item>
  </channel>
</rss>

