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

Support OneLake onelake.dfs.fabric.microsoft.com #27

Open
keshavksingh opened this issue Oct 26, 2024 · 1 comment
Open

Support OneLake onelake.dfs.fabric.microsoft.com #27

keshavksingh opened this issue Oct 26, 2024 · 1 comment

Comments

@keshavksingh
Copy link

The current package has a hard validation for ADLS Gen2 https://{ACCOUNT_NAME}.dfs.core.windows.net. It would be worthwhile to add the support for Microsoft Fabric OneLake which has its account as https://{ACCOUNT_NAME}.dfs.fabric.microsoft.com

@kaaveland
Copy link
Owner

This is already supported. dfs.core.windows.net is only mentioned in the alternative constructors, the from_account_name classmethods:

def from_account_name(

If you use the main constructor (__init__) you can pass in anything you'd like that supports the azure.storage.filedatalake.DataLakeServiceClient API:

You could use that like this:

client = DataLakeServiceClient("https://{ACCOUNT_NAME}.dfs.fabric.microsoft.com", azure.identity.DefaultAzureCredential())
fs = pyarrowfs_adlgen2.AccountHandler(client)

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

No branches or pull requests

2 participants