@Test
  public void testDeserializeCorruptedRecord() throws Exception {
    BytesWritable in = new BytesWritable(BaseEncoding.base16().lowerCase().decode(
        "00004e6f762020202020201b006120646179203d2031312f31312f31312020202020202020203435ec10000000000000c5feff"
            + "ff7707010000000000002a40ef2b3dab0d14e6531c8908a72700000007b20100313931312d31312d31312031393a32303a32312"
            + "e3433333230301b00746573743a20202020202020343333322020202020202020333135ff"));

    List<Object> row = (List<Object>) serde.deserialize(in);
    Assert.assertEquals(null, row.get(0));
    Assert.assertEquals(null, row.get(3));
    Assert.assertEquals(null, row.get(10));
  }
Test all the data types supported for Teradata Binary Format.
serde/src/test/org/apache/hadoop/hive/serde2/teradata/TestTeradataBinarySerdeGeneral.java