Skip to content

Commit

Permalink
Update fe/fe-core/src/main/java/com/starrocks/server/CatalogMgr.java
Browse files Browse the repository at this point in the history
Co-authored-by: alvin <[email protected]>
Signed-off-by: immutablecodes <[email protected]>
  • Loading branch information
immutablecodes and alvin-celerdata authored Oct 31, 2024
1 parent 2a74365 commit af8c24f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void alterCatalog(AlterCatalogStmt stmt) {
Map<String, String> properties = ((ModifyTablePropertiesClause) stmt.getAlterClause()).getProperties();
String serviceName = properties.get("ranger.plugin.hive.service.name");

if (serviceName == null || serviceName.isEmpty()) {
if (Strings.isNullOrEmpty(serviceName)) {
if (Config.access_control.equals("ranger")) {
Authorizer.getInstance().setAccessControl(catalogName, new RangerStarRocksAccessController());
} else {
Expand Down

0 comments on commit af8c24f

Please sign in to comment.