starocean999 commented on code in PR #43449:
URL: https://github.com/apache/doris/pull/43449#discussion_r1833791286


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -4006,6 +4008,16 @@ public SetDefaultStorageVaultCommand 
visitSetDefaultStorageVault(SetDefaultStora
         return new 
SetDefaultStorageVaultCommand(stripQuotes(ctx.identifier().getText()));
     }
 
+    @Override
+    public Object visitRefreshCatalog(RefreshCatalogContext ctx) {
+        if (ctx.name != null) {
+            String catalogName = ctx.name.getText();
+            Map<String, String> properties = 
visitPropertyClause(ctx.propertyClause());

Review Comment:
   ```suggestion
               Map<String, String> properties = ctx.propertyClause() != null
                   ? Maps.newHashMap(visitPropertyClause(ctx.propertyClause())) 
: Maps.newHashMap();
   ```



-- 
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]

Reply via email to