Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.2.0, 0.3.0
-
None
Description
https://github.com/apache/arrow/blob/master/cpp/src/arrow/io/hdfs.cc#L409-L410
if (entries == nullptr) { // If the directory is empty, entries is NULL but errno is 0. Non-zero // errno indicates error // // Note: errno is thread-locala if (errno == 0) { num_entries = 0; } { return Status::IOError("HDFS: list directory failed"); } }
I think that should have an else:
if (entries == nullptr) { // If the directory is empty, entries is NULL but errno is 0. Non-zero // errno indicates error // // Note: errno is thread-locala if (errno == 0) { num_entries = 0; } else { return Status::IOError("HDFS: list directory failed"); } }
Attachments
Issue Links
- blocks
-
ARROW-670 Arrow 0.3 release
- Resolved