[ 
https://issues.apache.org/jira/browse/TAJO-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008982#comment-14008982
 ] 

ASF GitHub Bot commented on TAJO-699:
-------------------------------------

GitHub user prafullat opened a pull request:

    https://github.com/apache/tajo/pull/21

    TAJO-699:  Create a table using LIKE

    This commit implements following DDL in Tajo.
    create table <table_name> like <existing_table_name>;

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prafullat/tajo tajo-699

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/21.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21
    
----
commit a3f0bf85641a58b0b344d0aaca1c037c608d1295
Author: Prafulla Tekawade <[email protected]>
Date:   2014-05-26T17:24:45Z

    TAJO-699:  Create a table using LIKE
    
    This commit implements following DDL in Tajo.
    create table <table_name> like <existing_table_name>;

----


> 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
>
> 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)

Reply via email to