presto-main/src/main/java/io/prestosql/operator/NestedLoopJoinOperator.java/NestedLoopPageBuilder/calculateUseNoColumnShortcut
class NestedLoopPageBuilder:        private static int calculateUseNoColumnShortcut(
                int numberOfProbeColumns,
                int numberOfBuildColumns,
                int positionCountProbe,
                int positionCountBuild)
        {
            if (numberOfProbeColumns == 0 && numberOfBuildColumns == 0) {
                try {
                    // positionCount is an int. Make sure the product can still fit in an int.
                    return multiplyExact(positionCountProbe, positionCountBuild);
                }
                catch (ArithmeticException exception) {
                    // return -1 to disable the shortcut if overflows.
                }
            }
            return -1;
        }