Github user arjansh commented on a diff in the pull request:
https://github.com/apache/metamodel/pull/182#discussion_r195067558
--- Diff:
hbase/src/main/java/org/apache/metamodel/hbase/HBaseFamilyMap.java ---
@@ -106,9 +105,9 @@ public String toString() {
if (sb.length() > 1) {
sb.append(',');
}
- sb.append(Arrays.toString(entry.getKey()));
+ sb.append(new String(entry.getKey()));
sb.append('=');
- sb.append(Arrays.toString(entry.getValue()));
+ sb.append(new String(entry.getValue()));
--- End diff --
The problem however is that the `Arrays.toString` variant returns the
key/value combination of `hey` and `yo` as `[104, 101, 121]` and `[121, 111]`,
which you can hardly call a String representation. where the `new String` will
typically return `hey` and `yo` in that case. In case some unexpected character
encoding is used it may display some shady characters, but it should still work.
---