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/21 05:01:46 UTC
[jira] [Created] (TAJO-699) Create a table using LIKE
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)