Skip to content

deltalake and delta-rs breaking changes in v1.0.0 #90

@MABERG13-github

Description

@MABERG13-github

When importing from catalog like glue or unity catalog dask-deltatable uses the deltalake package. This package just had a big overhaul with the v1.0.0 release. where functions like DeltaTable.from_data_catalog is removed see their documentation here. Also The DataCatalog class is removed.

They suggest moving to create path to the catalog which works quite well with existing setup by creating a

  full_url = f"s3://{database_name}/{table_name}"
  dt = DeltaTable(full_url)
  file_paths = dt.file_uris()
  ddf = dd.read_parquet(file_paths, **kwargs)

in the _read_from_catalog function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions