flyrain commented on a change in pull request #3094:
URL: https://github.com/apache/iceberg/pull/3094#discussion_r707778397



##########
File path: core/src/main/java/org/apache/iceberg/LocationProviders.java
##########
@@ -99,8 +98,8 @@ public String newDataLocation(String filename) {
     private final String context;
 
     ObjectStoreLocationProvider(String tableLocation, Map<String, String> 
properties) {
-      this.storageLocation = 
stripTrailingSlash(properties.getOrDefault(OBJECT_STORE_PATH,
-          defaultDataLocation(tableLocation, properties)));
+      this.storageLocation =
+          stripTrailingSlash(dataLocation(properties, tableLocation, 
TableProperties.OBJECT_STORE_PATH));

Review comment:
       Yeah, the logic of #2845 has been in the release 0.12.0. We'd better to 
stick to it. I will make the change. cc @rdblue. 




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