presto-rcfile/src/main/java/io/prestosql/rcfile/RcFileReader.java/RcFileReader/validateWrite
class RcFileReader:    private void validateWrite(Predicate<RcFileWriteValidation> test, String messageFormat, Object... args)
            throws RcFileCorruptionException
    {
        if (writeValidation.isPresent() && !test.test(writeValidation.get())) {
            throw corrupt("Write validation failed: " + messageFormat, args);
        }
    }