public ExprNodeDesc genExprNodeDesc(ASTNode expr, RowResolver input, boolean useCaching,
                                      boolean foldExpr) throws SemanticException {
    TypeCheckCtx tcCtx = new TypeCheckCtx(input, useCaching, foldExpr);
    return genExprNodeDesc(expr, input, tcCtx);
  }
Generates an expression node descriptor for the expression with TypeCheckCtx.
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java