You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pramod Nair (JIRA)" <ji...@apache.org> on 2015/02/11 10:17:23 UTC
[jira] [Issue Comment Deleted] (CASSANDRA-7662) Implement templated
CREATE TABLE functionality (CREATE TABLE LIKE)
[ https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pramod Nair updated CASSANDRA-7662:
-----------------------------------
Comment: was deleted
(was: That was because I was formatting the code using [cassandra.xml|https://github.com/tjake/cassandra-style-eclipse/blob/master/cassandra.xml] mentioned in http://wiki.apache.org/cassandra/CodeStyle.
Will upload a new patch without the extra changes.)
> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> ------------------------------------------------------------------
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Aleksey Yeschenko
> Priority: Minor
> Fix For: 2.1.3
>
> Attachments: 7662.patch
>
>
> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE) to simplify creating new tables duplicating existing ones (see parent_table part of http://www.postgresql.org/docs/9.1/static/sql-createtable.html).
> CREATE TABLE <new_table> LIKE <old_table>; - would create a new table with the same columns and options as <old_table>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)