You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/07/26 13:15:49 UTC
[jira] [Updated] (TAJO-87) Integration of tajo algebra module and
SQL parser.
[ https://issues.apache.org/jira/browse/TAJO-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyunsik Choi updated TAJO-87:
-----------------------------
Attachment: TAJO-87.patch
The patch does as follows:
* implement some missed relational algebraic expression classes, such as InPredicate, CaseWhenPredicate, Having, and NotExpr
* remove tajo-front module
* completely rewrite SQLAnalyzer
* change SQLParser.g and SQLLexer.g using antlr3 into ones using Antlr4
* rewrite LogicalPlanner
* This change is the initial work for cost-based optimization.
* rewrite LogicalOptimizer
* remove some unused classes
I've also uploaded the patch to the reviewboard.
https://reviews.apache.org/r/12964/
I verified 'mvn clean install'.
> Integration of tajo algebra module and SQL parser.
> --------------------------------------------------
>
> Key: TAJO-87
> URL: https://issues.apache.org/jira/browse/TAJO-87
> Project: Tajo
> Issue Type: Improvement
> Components: parser
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.2-incubating
>
> Attachments: TAJO-87.patch
>
>
> In the current implementation, QueryAnalyzer transforms a sql statement into a data structure that represents a parser tree and a query block. They has the following limitations:
> * They can't support multiple block queries including table and scalar subqueries.
> * They are tightly coupled to a certain grammar.
> Before ASF incubation, I have developed tajo-algebra and tajo-frontend-sql. Tajo-algebra is a kind of intermediate layer. It represents a just relational algebraic expression. With this, we can do more interesting things. For example, we can enable users to describe a logical plan for a certain query. It also very helpful to support an another DSL.
> For this work, tajo-algebra should be improved to support full specifications, and we should rewrite a SQL parser to use tajo-algebra.
--
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