flyrain commented on code in PR #1191:
URL: https://github.com/apache/polaris/pull/1191#discussion_r2004468505


##########
polaris-core/src/main/java/org/apache/polaris/core/entity/CatalogEntity.java:
##########
@@ -240,6 +246,21 @@ public Builder setStorageConfigurationInfo(
         }
         allowedLocations.add(defaultBaseLocation);
         validateMaxAllowedLocations(allowedLocations);
+
+        PolarisStorageConfigurationInfo existingConfig = null;

Review Comment:
   Agreed. It'd be nice the logic was wrapped in a DAO method like 
`CatalogDao::GetExistingStorageConfig()`



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

Reply via email to