https://delta.io logo
s

Shreyas Venkat

05/08/2023, 3:55 PM
So I've been trying to go through the docs of delta-rs for python, I'm trying to connect a databricks workspace so I can access it locally without spark, I have the access token and the workspace URL in the ENV variables. But the issue I have is that in the example it says "data_catalog = DataCatalog.UNITY" and my interpreter just doesn't like that at all because it doesn't exist as an attribute. And I tried looking up the list of atributes on the website: https://delta-io.github.io/delta-rs/python/api_reference.html?highlight=datacatalog#deltalake.data_catalog.DataCatalog and I guess the list of data catalogs don't exist?
w

Will Jones

05/08/2023, 4:03 PM
What version of
deltalake
are you running? This is only available in the latest version, 0.9.0.
Copy code
import deltalake
deltalake.__version__
s

Shreyas Venkat

05/08/2023, 4:04 PM
ah that might be why, thanks
I'm running 0.8.1
Thanks that helped a bunch !! just installed 0.9.0.
w

Will Jones

05/08/2023, 4:19 PM
Good to hear. Let me know how well it works. It’s very new and hasn’t yet been tested extensively.
s

Shreyas Venkat

05/08/2023, 4:19 PM
will do