private Triple<String, String, String> getDirtyLabelTagAndIdentity(JsonNode data,
            JsonDynamicSchemaFormat jsonFormat) {
        String dirtyLabel = null;
        String dirtyLogTag = null;
        String dirtyIdentify = null;
        try {
            if (dirtyOptions.ignoreDirty()) {
                if (dirtyOptions.getLabels() != null) {
                    dirtyLabel = jsonFormat.parse(data,
                            DirtySinkHelper.regexReplace(dirtyOptions.getLabels(), DirtyType.BATCH_LOAD_ERROR, null));
                }
                if (dirtyOptions.getLogTag() != null) {
                    dirtyLogTag = jsonFormat.parse(data,
                            DirtySinkHelper.regexReplace(dirtyOptions.getLogTag(), DirtyType.BATCH_LOAD_ERROR, null));
                }
                if (dirtyOptions.getIdentifier() != null) {
                    dirtyIdentify = jsonFormat.parse(data,
                            DirtySinkHelper.regexReplace(dirtyOptions.getIdentifier(), DirtyType.BATCH_LOAD_ERROR,
                                    null));
                }
            }
        } catch (Exception e) {
            LOG.warn("Parse dirty options failed. {}", ExceptionUtils.stringifyException(e));
        }
        return new ImmutableTriple<>(dirtyLabel, dirtyLogTag, dirtyIdentify);
    }
parse dirty label , tag and identify

@param data raw data
@param jsonFormat json formatter
@return dirty label, tag and identify
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hive/src/main/java/org/apache/inlong/sort/hive/filesystem/HadoopPathBasedPartFileWriter.java