private void checkNotDuplicated(String newFieldName) {
        if (fieldNames.contains(newFieldName)) {
            throw new IllegalArgumentException("Field " + newFieldName + " already exists.");
        }
    }
Ignores the errors in the serialization and deserialization.
inlong-sort/sort-formats/format-common/src/main/java/org/apache/inlong/sort/formats/base/TextFormatDescriptor.java