public static <T> void initializeDeserializationSchema(
            Collection<DeserializationSchema<T>> deserializationSchemas,
            RuntimeContext runtimeContext,
            Map<String, String> tags) throws Exception {
        FormatMetricGroup formatMetricGroup = new FormatMetricGroup(
                runtimeContext.getMetricGroup(),
                FormatMetricGroup.FORMAT_GROUP_NAME,
                true,
                tags);
        for (DeserializationSchema<T> deserializationSchema : deserializationSchemas) {
            deserializationSchema.open(RuntimeContextInitializationContextAdapters
                    .deserializationAdapter(runtimeContext, metricGroup -> formatMetricGroup));
        }
    }
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