adlfs icon indicating copy to clipboard operation
adlfs copied to clipboard

Support for MS Fabric OneLake

Open mikaelene opened this issue 2 years ago • 3 comments

Microsoft recently announced Fabric Online which is based on Azure Data Lake Storage Gen2. It should be quite compatible with ADLS Gen2 APIs and SDKs to be compatible with existing ADLS Gen2 applications. But it looks like it has a new protocol (abfss?).

It would be great to have support for OneLake and maybe some docs on how to upload files etc.

mikaelene avatar May 31 '23 09:05 mikaelene

Is this supported now?

chriklev avatar May 07 '24 13:05 chriklev

A hacky workaround I've found is:

from adlfs import AzureBlobFileSystem

fs= AzureBlobFileSystem(account_name="onelake", anon=False)
fs.account_host = "onelake.blob.fabric.microsoft.com"
fs.do_connect()

You can then pass it for example to pandas to read abfs:// paths:

df = pd.read_parquet(path, filesystem=fs)

Related to https://github.com/fsspec/adlfs/issues/340

jkafrouni avatar May 21 '24 18:05 jkafrouni