private void checkFailure() {
        if (!failures.isEmpty()) {
            throw new RuntimeException(
                    String.format("Failed to close equality delta writer, %d unclosed files more.", failures.size()),
                    failures.get(0));
        }
    }
Create a PartitionKey from the values in row.
<p>
Any PartitionKey returned by this method can be reused by the implementation.

@param row a data row
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/GroupedPartitionedFanoutWriter.java