rdblue commented on a change in pull request #187: Catalog Implementation for
hive and hadoop.
URL: https://github.com/apache/incubator-iceberg/pull/187#discussion_r284909945
##########
File path: api/src/main/java/org/apache/iceberg/catalog/Namespace.java
##########
@@ -48,4 +52,10 @@ public static Namespace namespace(String[] levels) {
public static Namespace empty() {
return EMPTY;
}
+
+ @Override
+ public String toString() {
+ // assumes a level it self won't have a period in it, otherwise it will be
ambiguous
+ return Arrays.stream(levels).collect(joining("."));
Review comment:
Is it necessary to use the streams API here? What about
`Joiners.on(".").join(levels)`? Seems simpler.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]