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

Connecting to Azure Data Lake Gen2 with Managed Identity #76

Closed
akulOn opened this issue Sep 25, 2024 · 3 comments
Closed

Connecting to Azure Data Lake Gen2 with Managed Identity #76

akulOn opened this issue Sep 25, 2024 · 3 comments
Assignees

Comments

@akulOn
Copy link

akulOn commented Sep 25, 2024

Hi,
I'm having some trouble connecting to Azure with Managed Identity.

I took a look at this PR in the delta-rs repo: delta-io/delta-rs#600, but I can't get it to work.

I've tried using the az:/// path, but no luck.

Environment.SetEnvironmentVariable("AZURE_STORAGE_ACCOUNT_NAME","templake");

string sourcePath = "abfss://temp@templake.dfs.core.windows.net/branches/people/";

using var runtime = new DeltaRuntime(RuntimeOptions.Default);
using var table = await DeltaTable.LoadAsync(
runtime,
sourcePath,
new TableOptions(),
CancellationToken.None);

foreach (var file in table.Files())
{
Console.WriteLine(file);
}

@mdrakiburrahman
Copy link
Collaborator

mdrakiburrahman commented Sep 29, 2024

I can take a look at this one, I'm trying to solve an identical problem

@MrPowers
Copy link

Thanks @mdrakiburrahman. Assigned you this one!

@mdrakiburrahman
Copy link
Collaborator

PR is here: #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants