You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Prafulla T (JIRA)" <ji...@apache.org> on 2014/05/26 20:40:01 UTC

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

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

Prafulla T updated TAJO-699:
----------------------------

    Attachment: TAJO-699.patch

> 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
>            Assignee: Prafulla T
>         Attachments: TAJO-699.patch
>
>
> 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)