mapleFU commented on issue #39385:
URL: https://github.com/apache/arrow/issues/39385#issuecomment-1871695672

   `rename(2)` ( https://man7.org/linux/man-pages/man2/rename.2.html ) is a 
Posix api defined in here ( 
https://github.com/apache/arrow/blob/main/cpp/src/arrow/filesystem/localfs.cc#L28
 ). We also having a `std::filesystem` in C++17 ( 
https://en.cppreference.com/w/cpp/filesystem/rename )
   
   > On success, zero is returned.  On error, -1 is returned, and 
[errno](https://man7.org/linux/man-pages/man3/errno.3.html) is set to indicate 
the error.
   
   So generally I think it's ok here


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