new GroupType(Type.Repetition.REPEATED, "array", arrayType) is no necessary here, you could replace it by convertField("array", schema.getElementType(), Type.Repetition.REPEATED);