private void outputMetrics(String tableIdentifier, Long rowSize, Long dataSize, boolean dirtyFlag) {
        String[] fieldArray = tableIdentifier.split("\\.");
        if (fieldArray.length == 3) {
            if (dirtyFlag) {
                sinkMetricData.outputDirtyMetrics(fieldArray[0], fieldArray[1], fieldArray[2],
                        rowSize, dataSize);
            } else {
                sinkMetricData.outputMetrics(fieldArray[0], fieldArray[1], fieldArray[2],
                        rowSize, dataSize);
            }
        } else if (fieldArray.length == 2) {
            if (dirtyFlag) {
                sinkMetricData.outputDirtyMetrics(fieldArray[0], null, fieldArray[1],
                        rowSize, dataSize);
            } else {
                sinkMetricData.outputMetrics(fieldArray[0], null, fieldArray[1],
                        rowSize, dataSize);
            }
        }
    }
Output metrics with estimate for pg or other type jdbc connectors.
tableIdentifier maybe: ${dbName}.${tbName} or ${dbName}.${schemaName}.${tbName}
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/JdbcMultiBatchingOutputFormat.java