presto-orc/src/main/java/io/prestosql/orc/OrcRecordReader.java/OrcRecordReader/validateWrite
class OrcRecordReader:    private void validateWrite(Predicate<OrcWriteValidation> test, String messageFormat, Object... args)
            throws OrcCorruptionException
    {
        if (writeValidation.isPresent() && !test.test(writeValidation.get())) {
            throw new OrcCorruptionException(orcDataSource.getId(), "Write validation failed: " + messageFormat, args);
        }
    }