pitrou commented on pull request #12626: URL: https://github.com/apache/arrow/pull/12626#issuecomment-1068252574
The PR description may be misleading. We are not actually setting the C `errno`, but we are setting a errno-compatible error code internally on the `arrow::Status` object. This allows instantiating a finer-grained exception in Python (such as `FileNotFoundError`) when the `arrow::Status` is converted into a Python exception (see https://docs.python.org/3/library/exceptions.html#os-exceptions). -- 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]
