[
https://issues.apache.org/jira/browse/TAJO-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010097#comment-14010097
]
Hudson commented on TAJO-699:
-----------------------------
FAILURE: Integrated in Tajo-master-build #226 (See
[https://builds.apache.org/job/Tajo-master-build/226/])
TAJO-699: Create a table using LIKE. (Prafulla T via hyunsik) (hyunsik: rev
a191b1dc7ad3189c825069084fc6fc6167a4eb87)
* tajo-core/src/main/java/org/apache/tajo/engine/parser/HiveQLAnalyzer.java
* CHANGES
* tajo-core/src/test/resources/queries/default/create_table_like_1.sql
* tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateTable.java
* tajo-core/src/test/java/org/apache/tajo/engine/query/TestCreateTable.java
* tajo-core/src/test/java/org/apache/tajo/engine/parser/TestSQLAnalyzer.java
* tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java
* tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4
* tajo-core/src/test/java/org/apache/tajo/engine/parser/TestHiveQLAnalyzer.java
* tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
> 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
> Fix For: 0.9.0
>
> 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)