Closed gabrielmbmb closed 2 years ago
Seems like fsspec.AbstractFileSystem.get
method is passing (in lpath
argument) to adlfs.AzureBlobFileSystem.get_file
method the local path of the directory where the content of the remote directory should be saved.
In my example, adlfs.AzureBlobFileSystem.get_file
is receiving "/tmp/test.parquet" in the lpath
argument, thus raising IsADirectoryError
when trying to open
.
Not related to the issue, but the topic of this repository should be hacktoberfest
not hactoberfest
.
What happened:
IsADirectoryError
raised while trying to download a directory from Azure Blob Storage to local file system usingAzureBlobFileSystem.get
method withrecursive=True
.What you expected to happen: the remote directory is downloaded without raising any error.
Minimal Complete Verifiable Example:
Anything else we need to know?:
This is the traceback I got:
Environment: