Skip to content

Commit

Permalink
chore: raise NotImplemented in from_data_catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Aug 20, 2024
1 parent f02e045 commit 38c90e9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python/deltalake/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,8 @@ def from_data_catalog(
but will also increase memory usage. Possible rate limits of the storage backend should
also be considered for optimal performance. Defaults to 4 * number of cpus.
"""
table_uri = RawDeltaTable.get_table_uri_from_data_catalog(
data_catalog=data_catalog.value,
data_catalog_id=data_catalog_id,
database_name=database_name,
table_name=table_name,
)
return cls(
table_uri=table_uri, version=version, log_buffer_size=log_buffer_size
raise NotImplementedError(
"Reading from data catalog is not supported at this point in time."
)

@staticmethod
Expand Down

0 comments on commit 38c90e9

Please sign in to comment.