Skip to content

Cannot read ADLS2 table with delta rs > 1.1.0 using az:// prefix #3643

@joepatol

Description

@joepatol

Environment

Delta-rs version: 1.1.2 and 1.1.3

Binding: Python

Environment:

  • Cloud provider: Azure
  • OS: Linux
  • Other:

Bug

Since upgrading beyond version 1.1.0 my code that reads a deltatable from Azure adls gen 2 stopped working
What happened:
I received the message _internal.TableNotFoundError: no log files
What you expected to happen:
To get a table
How to reproduce it:

from azure.identity import AzureCliCredential
from deltalake import DeltaTable

storage_options = {
    "account_name": "myaccount",
    "container_name": "my-container",
    "token": AzureCliCredential().get_token("https://storage.azure.com/.default").token,
}

dt = DeltaTable("az://my-container/my_table", storage_options=storage_options)
print(dt.to_pandas().head())

Version <= 1.1.0 this work fine

With > 1.1.0

_internal.TableNotFoundError: no log files

More details:
It seems to be Azure specific, if I store the table on my local machine it works fine

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstorage/azureAzure Blog storage related

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions