Skip to content

Commit

Permalink
Resovle comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Jan 26, 2025
1 parent a79464a commit 0739a44
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@

/* The utilization class of authorization module*/
public class AuthorizationUtils {

private static final Logger LOG = LoggerFactory.getLogger(AuthorizationUtils.class);
static final String USER_DOES_NOT_EXIST_MSG = "User %s does not exist in the metalake %s";
static final String GROUP_DOES_NOT_EXIST_MSG = "Group %s does not exist in the metalake %s";
Expand Down Expand Up @@ -461,7 +460,7 @@ public static List<String> getMetadataObjectLocation(
// The Hive default schema location is Hive warehouse directory
String defaultSchemaLocation =
getHiveDefaultLocation(ident.namespace().level(0), ident.name());
if (defaultSchemaLocation != null && !defaultSchemaLocation.isEmpty()) {
if (StringUtils.isNotBlank(defaultSchemaLocation)) {
locations.add(defaultSchemaLocation);
}
} else if (catalogObj.provider().equals("hadoop")) {
Expand Down

0 comments on commit 0739a44

Please sign in to comment.