amogh-jahagirdar commented on code in PR #8870:
URL: https://github.com/apache/iceberg/pull/8870#discussion_r1365470046


##########
aws/src/main/java/org/apache/iceberg/aws/glue/GlueCatalog.java:
##########
@@ -281,6 +281,7 @@ protected String defaultWarehouseLocation(TableIdentifier 
tableIdentifier) {
                 .build());
     String dbLocationUri = response.database().locationUri();
     if (dbLocationUri != null) {
+      dbLocationUri = LocationUtil.stripTrailingSlash(dbLocationUri);

Review Comment:
   Changing `loadNamespaceMetadata` makes sense. It'll be used when updating 
namespace properties in which case stripping the trailing slash can serve as a 
correction mechanism for any future tables in the namespace. Existing tables in 
the namespace wouldn't see a change in behavior. Updated



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to