liaoxin01 commented on code in PR #53592:
URL: https://github.com/apache/doris/pull/53592#discussion_r2218390112
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/LoadCommand.java:
##########
@@ -493,12 +492,6 @@ public void checkS3Param() throws UserException {
}
}
}
- //should add connectivity test
- boolean connectivityTest =
FileSystemFactory.get(brokerDesc.getStorageProperties())
- .connectivityTest(filePaths);
- if (!connectivityTest) {
- throw new UserException("Failed to access object storage,
message=connectivity test failed");
- }
Review Comment:
The headBucket interface used for connectivity check requires users to have
either headBucket or listBucket permissions. But actual users may not
necessarily have this permission. For example, accessing only a specific file
does not require granting Bucket related permissions.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]