presto-main/src/main/java/io/prestosql/type/DecimalInequalityOperators.java/DecimalInequalityOperators/distinctBlockPositionShortShort
class DecimalInequalityOperators:    @UsedByGeneratedCode
    public static boolean distinctBlockPositionShortShort(Block left, int leftPosition, Block right, int rightPosition)
    {
        if (left.isNull(leftPosition) != right.isNull(rightPosition)) {
            return true;
        }
        if (left.isNull(leftPosition)) {
            return false;
        }

        long leftValue = left.getLong(leftPosition, 0);
        long rightValue = right.getLong(rightPosition, 0);
        return Long.compare(leftValue, rightValue) != 0;
    }