Skip to content

Delta Table Loading Issue in Azure Function App #102

@kimzed

Description

@kimzed

We're experiencing an issue loading Delta tables in an Azure Function App using delta-dotnet. Key details:
Working scenario:

Works locally on Windows
Using path format:

filePath = $"abfss://{containerName}@{storageAccountName}.dfs.core.windows.net/{path-to-delta-table}"

Using access_key for storage authentication

var options = new TableOptions
{
};
options.StorageOptions["access_key"] = [access key];

Issue:

Same code fails when deployed to Azure Function App

Error: DeltaLake.Errors.DeltaRuntimeException: Failed to read delta log object: Generic HTTP client error: builder error
Error occurs during table loading operation

For this line:

DeltaRuntime runtime = new DeltaRuntime(RuntimeOptions.Default);
_table = DeltaTable.LoadAsync(runtime,
    filePath,
    tableOptions,
    CancellationToken.None).Result;

Has anyone encountered similar issues or have suggestions ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions