public static String convert(HudiColumnInfo column) {
        return Optional.ofNullable(column)
                .map(col -> HudiType.forType(col.getType()))
                .map(hudiType -> {
                    if (HudiType.DECIMAL == hudiType) {
                        return String.format("decimal(%d, %d)", column.getPrecision(), column.getScale());
                    } else if (HudiType.FIXED == hudiType) {
                        return String.format("fixed(%d)", column.getLength());
                    } else {
                        return hudiType.getHiveType();
                    }
                })
                .orElseThrow(() -> new RuntimeException("Can not properly convert type of column: " + column));
    }
Converter field type of column to Hive field type.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/hudi/HudiTypeConverter.java