class ArrowUtils {

	public static Schema toArrowSchema(RowType rowType) {
		Collection<Field> fields = rowType.getFields().stream()
			.map(f -> ArrowUtils.toArrowField(f.getName(), f.getType()))
			.collect(Collectors.toCollection(ArrayList::new));
		return new Schema(fields);
	}

}