Jaehwa Jung created TAJO-699:
--------------------------------

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

Reply via email to