presto-hive/src/main/java/io/prestosql/plugin/hive/HiveStorageFormat.java/HiveStorageFormat/validateColumns
class HiveStorageFormat:    public void validateColumns(List<HiveColumnHandle> handles)
    {
        if (this == AVRO) {
            for (HiveColumnHandle handle : handles) {
                if (!handle.isPartitionKey()) {
                    validateAvroType(handle.getHiveType().getTypeInfo(), handle.getName());
                }
            }
        }
    }