<?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't get databricks 0.30.0 to load consistently. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-t-get-databricks-0-30-0-to-load-consistently/m-p/89318#M37761</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've been fighting with an issue for several weeks and it's driving me nuts. By default, databricks in our environment uses 0.20.0 of the databricks-sdk. I've been trying to update that to 0.30.0 using the pip magic work or via the requirements.txt file and installing it that way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It looks like the package installs correctly. When I run 'version' on it, I get back 0.30.0...however, when I finally get around to calling my code...&lt;BR /&gt;&lt;BR /&gt;`&lt;SPAN&gt;databricks_group &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;next&lt;/SPAN&gt;&lt;SPAN&gt;(dbk_ac_client.groups.&lt;/SPAN&gt;&lt;SPAN&gt;list&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"displayName eq '&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;group&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;'"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I end up with this:&amp;nbsp;&lt;BR /&gt;`Error was: 'list' object is not an iterator`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Seems like the lists changed to iterators sometime in the last few versions of the SDK.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 10 Sep 2024 15:18:44 GMT</pubDate>
    <dc:creator>chakan2</dc:creator>
    <dc:date>2024-09-10T15:18:44Z</dc:date>
    <item>
      <title>Can't get databricks 0.30.0 to load consistently.</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-get-databricks-0-30-0-to-load-consistently/m-p/89318#M37761</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've been fighting with an issue for several weeks and it's driving me nuts. By default, databricks in our environment uses 0.20.0 of the databricks-sdk. I've been trying to update that to 0.30.0 using the pip magic work or via the requirements.txt file and installing it that way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It looks like the package installs correctly. When I run 'version' on it, I get back 0.30.0...however, when I finally get around to calling my code...&lt;BR /&gt;&lt;BR /&gt;`&lt;SPAN&gt;databricks_group &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;next&lt;/SPAN&gt;&lt;SPAN&gt;(dbk_ac_client.groups.&lt;/SPAN&gt;&lt;SPAN&gt;list&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"displayName eq '&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;group&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;'"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I end up with this:&amp;nbsp;&lt;BR /&gt;`Error was: 'list' object is not an iterator`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Seems like the lists changed to iterators sometime in the last few versions of the SDK.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:18:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-get-databricks-0-30-0-to-load-consistently/m-p/89318#M37761</guid>
      <dc:creator>chakan2</dc:creator>
      <dc:date>2024-09-10T15:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get databricks 0.30.0 to load consistently.</title>
      <link>https://community.databricks.com/t5/data-engineering/can-t-get-databricks-0-30-0-to-load-consistently/m-p/89498#M37827</link>
      <description>&lt;P&gt;I can't delete the original...but if someone runs into this...make sure your worker is using the latest version of spark. That's tied to the databricks-sdk version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 15:30:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-t-get-databricks-0-30-0-to-load-consistently/m-p/89498#M37827</guid>
      <dc:creator>chakan2</dc:creator>
      <dc:date>2024-09-11T15:30:58Z</dc:date>
    </item>
  </channel>
</rss>

