Tom-Newton commented on issue #40037:
URL: https://github.com/apache/arrow/issues/40037#issuecomment-1937822862

   A couple of discoveries after starting work on this:
   1. On hierarchical namespace accounts Azure will block this and return 
`[OperationNotSupportedOnDirectory] 400 The requested operation is not 
supported on a directory.`. This is good apart from it tends to happen during 
the `Flush` call in the destructor and the error is not handled gracefully. 
   2. On flat namespace accounts we ensure that directory marker blobs always 
have a trailing `/` and files never have a trailing `/`. This prevents 
accidentally reading or writing a directory marker blob but it also allows 
creating a file and a directory with exactly the same name, which seems to 
cause significant problems for `GetFileInfo`. @felipecrv do you have any 
thoughts on this?
   
   To be more concrete the new tests that fail are 
https://github.com/Tom-Newton/arrow/pull/5/files#diff-7d2cbf9c6abf1ee980b8cf5a79e222543c17b3d93b12c4c0c9fa123b1bb200b6


-- 
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