[ 
https://issues.apache.org/jira/browse/HIVE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584786#comment-13584786
 ] 

Samuel Yuan commented on HIVE-701:
----------------------------------

Removing FROM, DISTINCT, PRESERVE, COLUMN, ALL, AND, OR, and NOT brings the 
number of warnings down to 134. Before this change it was at 81. Most of these 
other cases are trivial, an example being "KW_ELEM_TYPE | KW_KEY_TYPE | 
KW_VALUE_TYPE | identifier", and they are all correctly handled by ANTLR.

I have created a followup JIRA: HIVE-4067.
                
> lots of reserved keywords in hive
> ---------------------------------
>
>                 Key: HIVE-701
>                 URL: https://issues.apache.org/jira/browse/HIVE-701
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Samuel Yuan
>             Fix For: 0.11.0
>
>         Attachments: HIVE-701.1.patch.txt, HIVE-701.2.patch.txt, 
> HIVE-701.D8397.1.patch, HIVE-701.HIVE-701.D8397.2.patch, 
> HIVE-701.HIVE-701.D8397.3.patch
>
>
> There is a problem if we want to use some reserved keywords:
> for example, creating a function of name left/right ? left/right is already a 
> reserved keyword.
> The other way around should also be possible - if we want to add a 'show 
> tables status' and some applications already use status as a column name, 
> they should not break

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to