public final HiveParser.unionType_return unionType() throws RecognitionException {
		HiveParser.unionType_return retval = new HiveParser.unionType_return();
		retval.start = input.LT(1);

		CommonTree root_0 = null;

		Token KW_UNIONTYPE708=null;
		Token LESSTHAN709=null;
		Token GREATERTHAN711=null;
		ParserRuleReturnScope colTypeList710 =null;

		CommonTree KW_UNIONTYPE708_tree=null;
		CommonTree LESSTHAN709_tree=null;
		CommonTree GREATERTHAN711_tree=null;
		RewriteRuleTokenStream stream_LESSTHAN=new RewriteRuleTokenStream(adaptor,"token LESSTHAN");
		RewriteRuleTokenStream stream_KW_UNIONTYPE=new RewriteRuleTokenStream(adaptor,"token KW_UNIONTYPE");
		RewriteRuleTokenStream stream_GREATERTHAN=new RewriteRuleTokenStream(adaptor,"token GREATERTHAN");
		RewriteRuleSubtreeStream stream_colTypeList=new RewriteRuleSubtreeStream(adaptor,"rule colTypeList");

		 msgs.push("uniontype type"); 
		try {
			// HiveParser.g:1813:5: ( KW_UNIONTYPE LESSTHAN colTypeList GREATERTHAN -> ^( TOK_UNIONTYPE colTypeList ) )
			// HiveParser.g:1813:7: KW_UNIONTYPE LESSTHAN colTypeList GREATERTHAN
			{
			KW_UNIONTYPE708=(Token)match(input,KW_UNIONTYPE,FOLLOW_KW_UNIONTYPE_in_unionType11311);  
			stream_KW_UNIONTYPE.add(KW_UNIONTYPE708);

			LESSTHAN709=(Token)match(input,LESSTHAN,FOLLOW_LESSTHAN_in_unionType11313);  
			stream_LESSTHAN.add(LESSTHAN709);

			pushFollow(FOLLOW_colTypeList_in_unionType11315);
			colTypeList710=colTypeList();
			state._fsp--;

			stream_colTypeList.add(colTypeList710.getTree());
			GREATERTHAN711=(Token)match(input,GREATERTHAN,FOLLOW_GREATERTHAN_in_unionType11317);  
			stream_GREATERTHAN.add(GREATERTHAN711);

			// AST REWRITE
			// elements: colTypeList
			// token labels: 
			// rule labels: retval
			// token list labels: 
			// rule list labels: 
			// wildcard labels: 
			retval.tree = root_0;
			RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null);

			root_0 = (CommonTree)adaptor.nil();
			// 1813:53: -> ^( TOK_UNIONTYPE colTypeList )
			{
				// HiveParser.g:1813:56: ^( TOK_UNIONTYPE colTypeList )
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_UNIONTYPE, "TOK_UNIONTYPE"), root_1);
				adaptor.addChild(root_1, stream_colTypeList.nextTree());
				adaptor.addChild(root_0, root_1);
				}

			}


			retval.tree = root_0;

			}

			retval.stop = input.LT(-1);

			retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
			adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);

			 msgs.pop(); 
		}

		catch (RecognitionException e) {
		 reportError(e);
		  throw e;
		}

		finally {
			// do for sure before leaving
		}
		return retval;
	}