private static void propagateIfUnhandled()

in paimon-presto-common/src/main/java/org/apache/paimon/presto/PrestoComputePushdown.java [499:509]


        private static void propagateIfUnhandled(PrestoException e) throws PrestoException {
            int errorCode = e.getErrorCode().getCode();
            if (errorCode == DIVISION_BY_ZERO.toErrorCode().getCode()
                    || errorCode == INVALID_CAST_ARGUMENT.toErrorCode().getCode()
                    || errorCode == INVALID_FUNCTION_ARGUMENT.toErrorCode().getCode()
                    || errorCode == NUMERIC_VALUE_OUT_OF_RANGE.toErrorCode().getCode()) {
                return;
            }

            throw e;
        }