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

		CommonTree root_0 = null;

		Token LPAREN583=null;
		Token RPAREN585=null;
		ParserRuleReturnScope tablePropertiesList584 =null;

		CommonTree LPAREN583_tree=null;
		CommonTree RPAREN585_tree=null;
		RewriteRuleTokenStream stream_RPAREN=new RewriteRuleTokenStream(adaptor,"token RPAREN");
		RewriteRuleTokenStream stream_LPAREN=new RewriteRuleTokenStream(adaptor,"token LPAREN");
		RewriteRuleSubtreeStream stream_tablePropertiesList=new RewriteRuleSubtreeStream(adaptor,"rule tablePropertiesList");

		 msgs.push("table properties"); 
		try {
			// HiveParser.g:1551:5: ( LPAREN tablePropertiesList RPAREN -> ^( TOK_TABLEPROPERTIES tablePropertiesList ) )
			// HiveParser.g:1552:7: LPAREN tablePropertiesList RPAREN
			{
			LPAREN583=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_tableProperties9047);  
			stream_LPAREN.add(LPAREN583);

			pushFollow(FOLLOW_tablePropertiesList_in_tableProperties9049);
			tablePropertiesList584=tablePropertiesList();
			state._fsp--;

			stream_tablePropertiesList.add(tablePropertiesList584.getTree());
			RPAREN585=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_tableProperties9051);  
			stream_RPAREN.add(RPAREN585);

			// AST REWRITE
			// elements: tablePropertiesList
			// 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();
			// 1552:41: -> ^( TOK_TABLEPROPERTIES tablePropertiesList )
			{
				// HiveParser.g:1552:44: ^( TOK_TABLEPROPERTIES tablePropertiesList )
				{
				CommonTree root_1 = (CommonTree)adaptor.nil();
				root_1 = (CommonTree)adaptor.becomeRoot((CommonTree)adaptor.create(TOK_TABLEPROPERTIES, "TOK_TABLEPROPERTIES"), root_1);
				adaptor.addChild(root_1, stream_tablePropertiesList.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;
	}