hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-14908) Upgrade ANTLR to 3.5.2
Date Fri, 07 Oct 2016 06:21:20 GMT
Pengcheng Xiong created HIVE-14908:
--------------------------------------

             Summary: Upgrade ANTLR to 3.5.2
                 Key: HIVE-14908
                 URL: https://issues.apache.org/jira/browse/HIVE-14908
             Project: Hive
          Issue Type: Sub-task
            Reporter: Pengcheng Xiong
            Assignee: Pengcheng Xiong


Antlr v4 is also available but it does not support "->" which is widely used in our grammar.
Antlr 3.5.2 is the latest v3 version. It will reduce the code size:
{code}
Here is summary of current parser code size

422345  HiveLexer.java
2436601  HiveParser.java
814184  HiveParser_FromClauseParser.java
2705920  HiveParser_IdentifiersParser.java
777665 HiveParser_SelectClauseParser.java

   After change, it will become

319589 HiveLexer.java
1853104 HiveParser.java
574156 HiveParser_FromClauseParser.java
1799195 HiveParser_IdentifiersParser.java
587305 HiveParser_SelectClauseParser.java
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message