presto-spi/src/main/java/io/prestosql/spi/type/AbstractType.java/AbstractType/hash
class AbstractType:    @Override
    public long hash(Block block, int position)
    {
        throw new UnsupportedOperationException(getTypeSignature() + " type is not comparable");
    }