kou opened a new issue, #41277:
URL: https://github.com/apache/arrow/issues/41277
### Describe the bug, including details regarding any error messages,
version, and platform.
`Empty`:
```text
[ RUN ] TestAzureHierarchicalNSGeneric.Empty
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/result.cc:28: ValueOrDie called
on an error: IOError: Path does not exist 'agikasj1xxp3jbao7nzxokhflwmbkl22/'
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/azurefs.cc:2973
impl_->GetFileInfoWithSelector(context, page_size_hint, select, &results)
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/filesystem.cc:366
base_fs_->GetFileInfo(selector). Detail: [errno 2] No such file or directory
```
`GetFileInfoSelectorWithRecursion`:
```text
[ RUN ] TestAzureHierarchicalNSGeneric.GetFileInfoSelectorWithRecursion
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:841:
Failure
Value of: infos
Expected: has 3 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::Directory, AA, -1, -1)
Actual: { FileInfo(FileType::File, 00.file, -1, -1),
FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file,
-1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File,
01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1),
FileInfo(FileType::File, 01/02/03/03.file, -1, -1),
FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File,
01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1),
FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:846:
Failure
Value of: infos
Expected: has 6 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #4 is equal to FileInfo(FileType::Directory, AA, -1, -1),
element #5 is equal to FileInfo(FileType::File, AA/AA.file, -1, -1)
Actual: { FileInfo(FileType::File, 00.file, -1, -1),
FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file,
-1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File,
01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1),
FileInfo(FileType::File, 01/02/03/03.file, -1, -1),
FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File,
01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1),
FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:852:
Failure
Value of: infos
Expected: has 8 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #4 is equal to FileInfo(FileType::File, 01/02/02.file, -1, -1),
element #5 is equal to FileInfo(FileType::Directory, 01/02/03, -1, -1),
element #6 is equal to FileInfo(FileType::Directory, AA, -1, -1),
element #7 is equal to FileInfo(FileType::File, AA/AA.file, -1, -1)
Actual: { FileInfo(FileType::File, 00.file, -1, -1),
FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file,
-1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File,
01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1),
FileInfo(FileType::File, 01/02/03/03.file, -1, -1),
FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File,
01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1),
FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:865:
Failure
Value of: infos
Expected: has 4 elements where
element #0 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/02/02.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02/03, -1, -1)
Actual: { FileInfo(FileType::File, 01/01.file, -1, -1),
FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File,
01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1),
FileInfo(FileType::File, 01/02/03/03.file, -1, -1),
FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File,
01/02/03/04/04.file, -1, -1) }, which has 7 elements
[ FAILED ] TestAzureHierarchicalNSGeneric.GetFileInfoSelectorWithRecursion
(1186 ms)
```
I think that this is a regression in #41068.
### Component(s)
C++
--
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]