kou commented on code in PR #39298:
URL: https://github.com/apache/arrow/pull/39298#discussion_r1432068647
##########
cpp/src/arrow/filesystem/azurefs.cc:
##########
@@ -1177,18 +1269,19 @@ class AzureFileSystem::Impl {
}
}
- ARROW_ASSIGN_OR_RAISE(auto hierarchical_namespace_enabled,
- hns_detector_.Enabled(location.container));
- if (!hierarchical_namespace_enabled) {
+ auto adlfs_client =
datalake_service_client_->GetFileSystemClient(location.container);
+ ARROW_ASSIGN_OR_RAISE(auto hns_support,
HierarchicalNamespaceSupport(adlfs_client));
+ if (hns_support == HNSSupport::kContainerNotFound) {
+ return PathNotFound(location);
+ }
+ if (hns_support == HNSSupport::kDisabled && !IsDfsEmulator(options_)) {
Review Comment:
Thanks. I see.
--
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]