static ExprNodeTempDesc genSimpleExprNodeDesc(ASTNode expr) throws SemanticException {
exprNodeDesc desc = null;
switch(expr.getType()) {
case HiveParser.TOK_NULL:
desc = new exprNodeNullDesc();
break;
case HiveParser.Identifier:
// This is the case for an XPATH element (like "c" in "a.b.c.d")
desc = new exprNodeConstantDesc(
TypeInfoFactory.stringTypeInfo,