You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2018/05/30 21:46:01 UTC

[jira] [Commented] (HIVE-19741) Update documentation to reflect list of reserved words

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

Lefty Leverenz commented on HIVE-19741:
---------------------------------------

The keyword APPLICATION was added by HIVE-18004 in release 3.0.0.  It's a reserved word (since IdentifiersParser.g doesn't list it as nonreserved).

> Update documentation to reflect list of reserved words
> ------------------------------------------------------
>
>                 Key: HIVE-19741
>                 URL: https://issues.apache.org/jira/browse/HIVE-19741
>             Project: Hive
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Matt Burgess
>            Priority: Minor
>
> The current list of non-reserved and reserved keywords is on the Hive wiki:
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Keywords,Non-reservedKeywordsandReservedKeywords
> However it does not match the list in code (see the lexer rules here):
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g
> On particular example is the "application" keyword, which was discovered while trying to create a table with a column named "application".
> This Jira proposes to align the documentation with the current set of non-reserved and reserved keywords.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)