Pengcheng Xiong created HIVE-16163:
--------------------------------------

             Summary: Remove unnecessary parentheses in HiveParser
                 Key: HIVE-16163
                 URL: https://issues.apache.org/jira/browse/HIVE-16163
             Project: Hive
          Issue Type: Bug
            Reporter: Pengcheng Xiong


in HiveParser.g

L2145:
{code}
columnParenthesesList
@init { pushMsg("column parentheses list", state); }
@after { popMsg(state); }
    : LPAREN columnNameList RPAREN
    ;
{code}

should be changed to 
{code}
columnParenthesesList
@init { pushMsg("column parentheses list", state); }
@after { popMsg(state); }
    : LPAREN! columnNameList RPAREN!
    ;
{code}

However, we also need to refactor our code. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to