Hi team, how does Pinot encode byte columns to dis...
# troubleshooting
p
Hi team, how does Pinot encode byte columns to display on the UI? Are they encoded as hex strings?
k
Yes, they are encoded as Hex strings.
Copy code
/**
 * Converts the byte array to a Hex encoded string.
 *
 * @param bytes byte array
 * @return Hex encoded string
 */
public static String toHexString(byte[] bytes) {
  return Hex.encodeHexString(bytes);
}
➕ 1
p
Ah, danke 🙂