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

Kevin Wilfong commented on HIVE-701:
------------------------------------

AND, OR, and NOT also seem to be big contributors.

The warnings bring up a good point, e.g. if you run SELECT distinct col FROM 
... are you selecting a column named distinct and aliasing it as col or are 
your trying to select distinct values of the column called col
                
> 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