Commits


Thomas Newton authored and GitHub committed 993a27c67cf
GH-44303: [C++][FS][Azure] Fix minor hierarchical namespace bugs (#44307) ### Rationale for this change There are a couple of minor bugs in the `AzureFileSystem` for hierarchical namespaces accounts. These cause failures in `TestAzureHierarchicalNSGeneric.GetFileInfoSelectorWithRecursion` and `TestAzureHierarchicalNSGeneric.Empty` which do not run automatically in CI. ### What changes are included in this PR? - Fix incorrectly returning Not found on recursive get file info on container root. - Implement `selector.max_recursion` for hierarchical namespace. This is implemented completely artificially after `directory_client.ListPaths(/*recursive=*/true)`. - Enable a couple of features on the generic tests that were disabled but are actually supported. ### Are these changes tested? There already failing tests for these but they don't run on CI because they require connect to a real Azure blob storage account. I made sure to run all the tests locally including the ones that connect to real Azure storage, both flat and hierarchical and all the tests passed. ### Are there any user-facing changes? * GitHub Issue: #44303 Lead-authored-by: Thomas Newton <thomas.w.newton@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>