[ 
https://issues.apache.org/jira/browse/HIVE-16163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pengcheng Xiong updated HIVE-16163:
-----------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-16163.01.patch
>
>
> 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