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

Carl Steinbach commented on HIVE-3472:
--------------------------------------

bq. ... as a data point, the grammar file of the Hive parser is about 61KB with 
2487 lines, while the grammar files of the open source SQL parser 
https://github.com/porcelli/plsql-parser are about 524KB with 8583 lines ...

The parser you referenced on github is actually a parser for Oracle's PL/SQL 
language which is basically a combination of SQL and Ada. I think if you 
stripped out the procedural components you would find that the remainder is 
probably half the size of the original. Do you intend to implement PL/SQL on 
top of Hive or just SQL-92?


                
> Build An Analytical SQL Engine for MapReduce
> --------------------------------------------
>
>                 Key: HIVE-3472
>                 URL: https://issues.apache.org/jira/browse/HIVE-3472
>             Project: Hive
>          Issue Type: New Feature
>    Affects Versions: 0.10.0
>            Reporter: Shengsheng Huang
>         Attachments: SQL-design.pdf
>
>
> While there are continuous efforts in extending Hive’s SQL support (e.g., see 
> some recent examples such as HIVE-2005 and HIVE-2810), many widely used SQL 
> constructs are still not supported in HiveQL, such as selecting from multiple 
> tables, subquery in WHERE clauses, etc.  
> We propose to build a SQL-92 full compatible engine (for MapReduce based 
> analytical query processing) as an extension to Hive. 
> The SQL frontend will co-exist with the HiveQL frontend; consequently, one 
> can  mix SQL and HiveQL statements in their queries (switching between HiveQL 
> mode and SQL-92 mode using a “hive.ql.mode” parameter before each query 
> statement). This way useful Hive extensions are still accessible to users. 

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

Reply via email to