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

   > Calling python's get_file_info() which should be using the C++ equivalent 
works fine on directories..
   
   I don't think this disproves the explanation given in 
https://github.com/apache/arrow/issues/46085. I think the problem is that 
`create_dir` tries to check that all the parent directories exist, including 
checking that the container exists. That means it calls [`GetProperties` on the 
container](https://github.com/apache/arrow/blob/d11916f1543f0c9847f83a6d06e2a0bf0f8d5d8a/cpp/src/arrow/filesystem/azurefs.cc#L1497),
 which is where the error occurs (this is the only place were the error message 
matches what you get). `get_file_info` suffers from the same problem if you try 
it on the container, so I don't think we can use that as a solution, but I 
think the proposed solution in https://github.com/apache/arrow/issues/46085 
made a lot of sense. 
   


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