anuragmantri commented on code in PR #6913:
URL: https://github.com/apache/iceberg/pull/6913#discussion_r1128718998
##########
core/src/main/java/org/apache/iceberg/ReachableFileUtil.java:
##########
@@ -45,7 +45,7 @@ private ReachableFileUtil() {}
*/
public static String versionHintLocation(Table table) {
// only Hadoop tables have a hint file and such tables have a fixed
metadata layout
- Path metadataPath = new Path(table.location(), METADATA_FOLDER_NAME);
+ Path metadataPath = new Path(table.location() + "/" +
METADATA_FOLDER_NAME);
Path versionHintPath = new Path(metadataPath, Util.VERSION_HINT_FILENAME);
Review Comment:
When a slash is added, Path is able to understand there is a scheme followed
by a path. In this case, it will add the `/` correctly. Anyway, I changed this
line to use `this + "/" + that` syntax to avoid confusion.
--
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]