kou opened a new pull request, #38708:
URL: https://github.com/apache/arrow/pull/38708

   ### Rationale for this change
   
   It seems that we can't create a directory explicitly without hierarchical 
namespace support.
   
   It seems that Azure Blob Storage supports only virtual directory. There is 
no directory. If a file (blob) name has "/", it's treated that the file (blob) 
exists under a virtual directory.
   
   It seems that Azure Data Lake Storage Gen2 supports a real directory.
   
   See also:
   
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction
   
   ### What changes are included in this PR?
   
   This change chooses the following behavior:
   
   * Container can be created with/without hierarchical namespace support.
   * Directory can be created with hierarchical namespace support.
   * Directory can't be created without hierarchical namespace support. 
(`arrow::Status::NotImplemented` is returned for this case.)
   
   ### Are these changes tested?
   
   Azurite doesn't support hierarchical namespace yet. So I can't test the 
implementation for hierarchical namespace yet. Sorry.
   
   ### Are there any user-facing changes?
   
   Yes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to