rdblue commented on a change in pull request #919: [ISSUE #672] Add SupportsNamespaces on HiveCatalog and HadoopCatalog URL: https://github.com/apache/incubator-iceberg/pull/919#discussion_r407671613
########## File path: core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java ########## @@ -101,14 +112,13 @@ protected String name() { Preconditions.checkArgument(namespace.levels().length >= 1, "Missing database in table identifier: %s", namespace); - Joiner slash = Joiner.on("/"); - Path nsPath = new Path(slash.join(warehouseLocation, slash.join(namespace.levels()))); + Path nsPath = new Path(SLASH.join(warehouseLocation, SLASH.join(namespace.levels()))); Review comment: This shouldn't use the outer `SLASH.join`. Instead, use the `new Path(String, String)` constructor. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org