presto-spi/src/main/java/io/prestosql/spi/type/TinyintType.java/TinyintType/equalTo
class TinyintType:    @Override
    public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
    {
        int leftValue = leftBlock.getByte(leftPosition, 0);
        int rightValue = rightBlock.getByte(rightPosition, 0);
        return leftValue == rightValue;
    }