Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19741

Update documentation to reflect list of reserved words

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Documentation
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattyb149 Matt Burgess
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: