Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeltaTable.from_data_catalog not working #2699

Closed
flaviokr opened this issue Jul 23, 2024 · 1 comment
Closed

DeltaTable.from_data_catalog not working #2699

flaviokr opened this issue Jul 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@flaviokr
Copy link

I was following the documentation here, trying to read a table from a catalog:

from deltalake import DeltaTable
from deltalake import DataCatalog

database_name = "simple_database"
table_name = "simple_table"
data_catalog = DataCatalog.AWS

dt = DeltaTable.from_data_catalog(data_catalog=data_catalog, database_name=database_name, table_name=table_name)

But I am getting the errror: AttributeError: type object 'deltalake._internal.RawDeltaTable' has no attribute 'get_table_uri_from_data_catalog'

Is this a bug or is the documentation outdated?

@flaviokr flaviokr added the bug Something isn't working label Jul 23, 2024
@ion-elgreco
Copy link
Collaborator

@flaviokr this code is removed on the rust side, but the references in Python were never removed. We might reintroduce it at some point in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants