JoinNode rightNode = joinNode.getRightNode();
if (joinNode.getJoinType() == JoinType.LEFT) {
for (AbstractExpression expr : exprs) {
// Get all the tables underneath this node and
// see if the expression is NULL-rejecting for any of them
Collection<String> tableAliases = rightNode.generateTableJoinOrder();
boolean rejectNull = false;
for (String tableAlias : tableAliases) {
if (ExpressionUtil.isNullRejectingExpression(expr, tableAlias)) {
// We are done at this level
joinNode.setJoinType(JoinType.INNER);