You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/05/06 04:58:59 UTC

[jira] [Created] (TAJO-1589) Distinguish logical nodes for CTAS and simple create table statements

Jihoon Son created TAJO-1589:
--------------------------------

             Summary: Distinguish logical nodes for CTAS and simple create table statements
                 Key: TAJO-1589
                 URL: https://issues.apache.org/jira/browse/TAJO-1589
             Project: Tajo
          Issue Type: Improvement
          Components: planner/optimizer
            Reporter: Jihoon Son


Create table statements can have two forms as follows.
* CTAS: create table t as select ...
* Simple statement: create table t (int4 id, ...

In the logical plan, CTAS node must have a child while simple CreateTable node must not. However, the same CreateTableNode structure are used for both statements, thereby making confusing and potential bugs. 



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