Giter Site home page Giter Site logo

Comments (4)

gison93 avatar gison93 commented on September 23, 2024 1

I missed that info, thank you for the explanation!

from azurestorageexplorer.

MRayermannMSFT avatar MRayermannMSFT commented on September 23, 2024

@gison93 why are you expecting that the folder will be deleted if empty? Can you share what storage service you are working with?

  • Blob (non ADLS Gen2)
  • Blob (ADLS Gen2)
  • Files

from azurestorageexplorer.

gison93 avatar gison93 commented on September 23, 2024

@MRayermannMSFT it's ADLS Gen2. I expected that way because in the past I got this behavior. Actually I tested it on a non ADLS Gen2 and I got the behavior that I expected.

Is there a way to enable the functionality?

from azurestorageexplorer.

MRayermannMSFT avatar MRayermannMSFT commented on September 23, 2024

@gison93 so one of the things you get when you create an ADLS Gen2 storage account is hierarchical directory structure for the data in your blob containers.

The hierarchical namespace is a key feature that enables Azure Data Lake Storage Gen2 to provide high-performance data access at object storage scale and price. You can use this feature to organize all the objects and files within your storage account into a hierarchy of directories and nested subdirectories. In other words, your Azure Data Lake Storage Gen2 data is organized in much the same way that files are organized on your computer.

From: https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction#hierarchical-directory-structure

This means that unlike non-ADLS Gen2 storage accounts, the folders in your blob containers are real (not virutal). The reason empty folders disappear in a non-ADLS Gen2 blob container disappear is because they are virtual, so without any blobs whose names define the existance of a folder, that folder does not exist. But for ADLS Gen2 blob containers, once you create a folder, it will not go away until you delete it.

Does that make sense?

from azurestorageexplorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.