private RelNode genFilterRelNode(ASTNode filterNode, RelNode srcRel,
            ImmutableMap<String, Integer> outerNameToPosMap, RowResolver outerRR,
            boolean useCaching) throws SemanticException {
      RexNode filterExpression = genRexNode(filterNode, relToHiveRR.get(srcRel),
          outerRR, null, useCaching, cluster.getRexBuilder());

      return genFilterRelNode(filterExpression, srcRel, outerNameToPosMap, outerRR);
    }
Generate Join Logical Plan Relnode by walking through the join AST.

@param aliasToRel
         Alias(Table/Relation alias) to RelNode; only read and not
         written in to by this method
@return
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java