You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2014/03/27 03:13:20 UTC

[jira] [Assigned] (TAJO-699) Create a table using LIKE

     [ https://issues.apache.org/jira/browse/TAJO-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaehwa Jung reassigned TAJO-699:
--------------------------------

    Assignee:     (was: Jaehwa Jung)

> Create a table using LIKE
> -------------------------
>
>                 Key: TAJO-699
>                 URL: https://issues.apache.org/jira/browse/TAJO-699
>             Project: Tajo
>          Issue Type: Improvement
>          Components: catalog, parser, planner/optimizer
>            Reporter: Jaehwa Jung
>
> Creating a table from existing table is very useful function for users. So, we should support CREATE TABLE LIKE The grammar is as follows:
> {code:xml}
> CREATE TABLE <table_name> LIKE <source_table_name>
> {code}
> For reference, the LIKE clause specifies a table from which the new table automatically copies all column names, their data types.



--
This message was sent by Atlassian JIRA
(v6.2#6252)