@Override
  public Object deserialize(final Writable blob) throws SerDeException {
    if (blob instanceof ArrayWritable) {
      return blob;
    } else {
      return null;
    }
  }
A ParquetHiveSerDe for Hive (with the deprecated package mapred). Parquet
format and stats is collected in ParquetRecordWriterWrapper when writer gets
closed.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.java