code: public static MessageType toParquetType(TypeInformation<?> typeInformation, boolean legacyMode) {
  		return (MessageType) convertField(null, typeInformation, Type.Repetition.OPTIONAL, legacyMode);
  	}
docs: Converts Flink Internal Type to Parquet schema.
  
  @param typeInformation  Flink type information
  @param legacyMode is standard LIST and MAP schema or back-compatible schema
  @return Parquet schema