<?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: Python Code not working in DBR 10.4 LTS - Shared Mode in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31607#M902</link>
    <description>&lt;P&gt;Hey @Parth Salvi​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it, could you please try adding the following Spark config to your cluster running DBR 10.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.databricks.unityCatalog.userIsolation.python.preview true&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 15:55:11 GMT</pubDate>
    <dc:creator>Cedric</dc:creator>
    <dc:date>2022-09-16T15:55:11Z</dc:date>
    <item>
      <title>Python Code not working in DBR 10.4 LTS - Shared Mode</title>
      <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31604#M899</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're trying to use DBR 10.4 LTS in Shared Mode. &lt;/P&gt;&lt;P&gt;But our python code is not working in that cluster.&lt;/P&gt;&lt;P&gt;We're running into following message&lt;/P&gt;&lt;P&gt;&lt;B&gt;Your administrator has only allowed sql commands on this cluster. This execution contained at least one&amp;nbsp;disallowed language&lt;/B&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1495i979D971C87A43783/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As suggested, we also tried setting spark conf "spark.databricks.repl.allowedLanguages"&lt;/P&gt;&lt;P&gt;in cluster but still we get same message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Admin login both workspace and account level we're not able to locate any such option of setting language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: We've a customer managed VPC installation and using Unity Catalog as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python code is working in No isolation mode but we cannot use it as it doesn't support unity catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this bug or a set up issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:57:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31604#M899</guid>
      <dc:creator>parthsalvi</dc:creator>
      <dc:date>2022-09-16T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python Code not working in DBR 10.4 LTS - Shared Mode</title>
      <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31605#M900</link>
      <description>&lt;P&gt;Hi Parthsalvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using 11.1+ and see if that works?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:35:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31605#M900</guid>
      <dc:creator>Cedric</dc:creator>
      <dc:date>2022-09-16T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Python Code not working in DBR 10.4 LTS - Shared Mode</title>
      <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31606#M901</link>
      <description>&lt;P&gt;Yes it does work on 11.1+ . But we're running into few issues on 11.2&lt;/P&gt;&lt;P&gt;like these &lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2022-09-16 at 9.09.58 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1490i70C89EB355A121AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-16 at 9.09.58 PM" alt="Screenshot 2022-09-16 at 9.09.58 PM" /&gt;&lt;/span&gt;  So we wanted to fix the issue in 10.4 itself. Is this a known issue ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:44:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31606#M901</guid>
      <dc:creator>parthsalvi</dc:creator>
      <dc:date>2022-09-16T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python Code not working in DBR 10.4 LTS - Shared Mode</title>
      <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31607#M902</link>
      <description>&lt;P&gt;Hey @Parth Salvi​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it, could you please try adding the following Spark config to your cluster running DBR 10.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.databricks.unityCatalog.userIsolation.python.preview true&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:55:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31607#M902</guid>
      <dc:creator>Cedric</dc:creator>
      <dc:date>2022-09-16T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python Code not working in DBR 10.4 LTS - Shared Mode</title>
      <link>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31608#M903</link>
      <description>&lt;P&gt;&lt;B&gt;Python code now working on 10.4 LTS shared mode. Thanks a lot, Cedric !!!&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still facing same issues in 10.4 as well. I've added a separate post for it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/question/0D58Y00009DDRguSAH/few-sparks-apis-not-working-in-dbr-112-104-lts-shared-mode-custom-vpc-like-dftail-dfrddmap" target="test_blank"&gt;https://community.databricks.com/s/question/0D58Y00009DDRguSAH/few-sparks-apis-not-working-in-dbr-112-104-lts-shared-mode-custom-vpc-like-dftail-dfrddmap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it seem like custom vpc set up issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 16:15:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/python-code-not-working-in-dbr-10-4-lts-shared-mode/m-p/31608#M903</guid>
      <dc:creator>parthsalvi</dc:creator>
      <dc:date>2022-09-16T16:15:51Z</dc:date>
    </item>
  </channel>
</rss>

