osd.setSchema(jc, schema);
osd.initialize(jc, new Properties());
BytesRefArrayWritable bytesWritableOutput = (BytesRefArrayWritable) osd.convertValue(record);
assertTrue(bytesWritableOutput.compareTo(bytesWritable) == 0);
}
private byte[][] buildBytesArray() throws UnsupportedEncodingException {
byte[][] bytes = {"123".getBytes("UTF-8"), "456".getBytes("UTF-8"),
"789".getBytes("UTF-8"), "1000".getBytes("UTF-8"),