private static DescriptorProperties getValidatedProperties(
            Map<String, String> properties) {
        DescriptorProperties descriptorProperties =
                new DescriptorProperties(true);
        descriptorProperties.putProperties(properties);

        CsvValidator validator = new CsvValidator();
        validator.validate(descriptorProperties);

        return descriptorProperties;
    }
Table format factory for providing configured instances of CSV-to-row
serializer and deserializer.
inlong-sort/sort-formats/format-row/format-csv/src/main/java/org/apache/inlong/sort/formats/csv/CsvFormatFactory.java