You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Samuel Yuan (JIRA)" <ji...@apache.org> on 2013/02/22 23:48:12 UTC

[jira] [Created] (HIVE-4067) Followup to HIVE-701: reduce ambiguity in grammar

Samuel Yuan created HIVE-4067:
---------------------------------

             Summary: Followup to HIVE-701: reduce ambiguity in grammar
                 Key: HIVE-4067
                 URL: https://issues.apache.org/jira/browse/HIVE-4067
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Samuel Yuan
            Assignee: Samuel Yuan
            Priority: Minor


After HIVE-701 the grammar has become much more ambiguous, and the compilation generates a large number of warnings. Making FROM, DISTINCT, PRESERVE, COLUMN, ALL, AND, OR, and NOT reserved keywords again reduces the number of warnings to 134, up from the original 81 warnings but down from the 565 after HIVE-701. Most of the remaining ambiguity is trivial, an example being "KW_ELEM_TYPE | KW_KEY_TYPE | KW_VALUE_TYPE | identifier", and they are all correctly handled by ANTLR.

--
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