public static ObjectMapper getObjectMapper() {
        return new ObjectMapper()
                .enable(
                        DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES,
                        DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES,
                        DeserializationFeature.FAIL_ON_READING_DUP_TREE_KEY)
                .disable(
                        SerializationFeature.FAIL_ON_EMPTY_BEANS);
    }
Check whether there are duplicated field names. Throws an {@link IllegalArgumentException}
with the duplicated field names if any exist.

@param fieldNames the field names to be checked.
inlong-sort/sort-formats/format-rowdata/format-rowdata-base/src/main/java/org/apache/inlong/sort/formats/util/FormatUtils.java