You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2017/03/10 00:06:37 UTC

[jira] [Created] (HIVE-16163) Remove unnecessary parentheses in HiveParser

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)