hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <>
Subject [jira] [Commented] (HIVE-701) lots of reserved keywords in hive
Date Tue, 12 Feb 2013 18:11:13 GMT


Phabricator commented on HIVE-701:

sxyuan has commented on the revision "HIVE-701 [jira] Make keywords non-reserved".

  Highlighting the main changes.

  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:302 Moved from ParseDriver.
  ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g:496 Main change for making
keywords non-reserved. Future non-reserved keywords should be added to the nonReserved rule.
  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:1154 Alternatives reordered to
make identifier come last.
  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:1161 Same as above.
  ql/src/java/org/apache/hadoop/hive/ql/parse/FromClauseParser.g:36 gParent is an ANTLR-defined
variable referring to the importing parser. The delegate parsers all refer to HiveParser for
custom error handling.
  ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g:174 Reordered.


To: kevinwilfong, JIRA, sxyuan
Cc: njain

> lots of reserved keywords in hive
> ---------------------------------
>                 Key: HIVE-701
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Samuel Yuan
>         Attachments: HIVE-701.1.patch.txt, HIVE-701.2.patch.txt, HIVE-701.D8397.1.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
> 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:

View raw message