You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this problem also affects regular Blob storage accounts, but I have a Azure storage account using Data Lake Gen2 storage, and the I observe the following issues:
All paths are considered to be files (is_file() is true if it exists) and not directories. is_dir() never returns True
iterdir() always returns paths. If the input is a file, it just returns itself if it exists.
rmdir() always throws a CloudPathNotADirectoryError
unlink() does appear to remove empty directories, but is expected to throw CloudPathIsADirectoryError
Not sure if this problem also affects regular Blob storage accounts, but I have a Azure storage account using Data Lake Gen2 storage, and the I observe the following issues:
is_file()is true if it exists) and not directories.is_dir()never returns Trueiterdir()always returns paths. If the input is a file, it just returns itself if it exists.rmdir()always throws aCloudPathNotADirectoryErrorunlink()does appear to remove empty directories, but is expected to throwCloudPathIsADirectoryErrorrmtree()throws aCloudPathNotADirectoryErrorrename()(if it works) copies contents instead of doing an actual rename, which is supported in Gen2 (AzureBlobPath should implement rename #162)There may be other issues.