private StructTypeInfo createNestedStruct(TypeInfo nestedType, int depth) {
    StructTypeInfo result = nestOnce(nestedType);
    for(int i = 0; i < depth; i++){
      result = nestOnce(result);
    }
    return result;
  }
Tests for ArrayWritableObjectInspector. At the moment only behavior related to HIVE-21796 covered.
ql/src/test/org/apache/hadoop/hive/ql/io/parquet/serde/TestArrayWritableObjectInspector.java