<?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 Can you share variables defined in a Python based cell with Scala cells? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22099#M15105</link>
    <description />
    <pubDate>Sun, 20 Jun 2021 03:59:35 GMT</pubDate>
    <dc:creator>aladda</dc:creator>
    <dc:date>2021-06-20T03:59:35Z</dc:date>
    <item>
      <title>Can you share variables defined in a Python based cell with Scala cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22099#M15105</link>
      <description />
      <pubDate>Sun, 20 Jun 2021 03:59:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22099#M15105</guid>
      <dc:creator>aladda</dc:creator>
      <dc:date>2021-06-20T03:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can you share variables defined in a Python based cell with Scala cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22100#M15106</link>
      <description>&lt;P&gt;Each databricks notebook has an indepedent Scala and Python shell/REPL. Thus variables defined in one can't be shared with the other. However Temp-Views are kept within the Notebook's own spark session and thus can be shared across different language cells and is a common technique to do so&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 04:01:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22100#M15106</guid>
      <dc:creator>aladda</dc:creator>
      <dc:date>2021-06-20T04:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can you share variables defined in a Python based cell with Scala cells?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22101#M15107</link>
      <description>&lt;P&gt;The workaround is available &lt;A href="https://community.databricks.com/s/question/0D53f00001JSnTACA1/can-we-access-the-variables-created-in-python-in-scalas-code-or-notebook-" alt="https://community.databricks.com/s/question/0D53f00001JSnTACA1/can-we-access-the-variables-created-in-python-in-scalas-code-or-notebook-" target="_blank"&gt;&lt;B&gt;here&lt;/B&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Idea is to use spark.conf.set(), spark.conf.get() methods.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 18:34:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-share-variables-defined-in-a-python-based-cell-with/m-p/22101#M15107</guid>
      <dc:creator>Imtiyaz_Shaikh</dc:creator>
      <dc:date>2023-04-05T18:34:51Z</dc:date>
    </item>
  </channel>
</rss>

