Can't get databricks 0.30.0 to load consistently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 08:18 AM
Hi all,
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.
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...
`databricks_group = next(dbk_ac_client.groups.list(filter=f"displayName eq '{group}'"))`
`Error was: 'list' object is not an iterator`
Any help would be much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 08:30 AM
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.