@Override
  @SuppressWarnings("unchecked")
  public Object set(final Object list, final int index, final Object element) {
    final List<Object> l = (List<Object>) list;
    l.set(index, element);
    return list;
  }
The ParquetHiveArrayInspector will inspect an ArrayWritable, considering it as an Hive array.<br>
It can also inspect a List if Hive decides to inspect the result of an inspection.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveArrayInspector.java