tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-87) Integration of tajo algebra module and SQL parser.
Date Fri, 26 Jul 2013 11:15:49 GMT

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

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

View raw message