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