[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2024-01-08 Thread Somiparno Chattopadhyay (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17804593#comment-17804593
 ] 

Somiparno Chattopadhyay commented on CASSANDRA-7662:


[~maxwellguo] Yes go ahead. I got engaged with a lot of other personal and 
professional work.

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2024-01-08 Thread Maxwell Guo (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17804584#comment-17804584
 ] 

Maxwell Guo commented on CASSANDRA-7662:


Any update on this ? [~epsi.rex] , I think I can take over this if you do not 
have some time . 
And [~aleksey] , do you think  we should  make a DISCUSS in the mailing list as 
we are going to introduce a new grammar. 

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-06 Thread Maxwell Guo (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783465#comment-17783465
 ] 

Maxwell Guo commented on CASSANDRA-7662:


I just saw the original patch of [~aleksey] which merge the like with create 
table. 
if we do not going to copy data, I think thing may be easier. [~epsi.rex] 
simply pass tablemetadata to create table statement may be not work for 
this patch, as tablemetadata contains not only the columns , table param which 
described the table schema, but also trigger ,index and so on which is 
should not be copied. You can just build a new one I think.

Besides, some tests is needed. 

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-06 Thread Somiparno Chattopadhyay (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783222#comment-17783222
 ] 

Somiparno Chattopadhyay commented on CASSANDRA-7662:


[~aleksey] 
 * So the new table should be empty by default?
 * I tried looking into the TableMetadata class for extracting the columns and 
other metadata. Is this the class that I will use to copy all the properties of 
the table?
 * If yes, I guess we should be passing the new TableMetadata instance to a 
CreateTableStatement instance. Please correct me if I am wrong.

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-06 Thread Aleksey Yeschenko (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783192#comment-17783192
 ] 

Aleksey Yeschenko commented on CASSANDRA-7662:
--

This was never intended to copy and data. Only copying the structure (metadata) 
of the original table - params, columns, indexes.

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-05 Thread Maxwell Guo (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783097#comment-17783097
 ] 

Maxwell Guo commented on CASSANDRA-7662:


But there may be some details that need to be considered, such as the 
processing of incremental data during table creation or data copying.

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-05 Thread Maxwell Guo (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783093#comment-17783093
 ] 

Maxwell Guo commented on CASSANDRA-7662:


Does the logic of the implementation feel like :
1.creating a new table, including the meta information of the new table;
2. each cassandra node directly physically copies the sstable file to the new 
table directory, and then loads the data?
3.we  may add a table status to show wether the table can be read for this node 
only if the data file on the node finish the data copy.
[~aleksey]?

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-05 Thread Somiparno Chattopadhyay (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17783092#comment-17783092
 ] 

Somiparno Chattopadhyay commented on CASSANDRA-7662:


I went through relevant parts in the code (including the ANTLR Parser.g file 
and the CreateTableStatement.java file). Are there any other files for 
reference where I can understand how table copying works?

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2023-11-03 Thread Somiparno Chattopadhyay (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17782713#comment-17782713
 ] 

Somiparno Chattopadhyay commented on CASSANDRA-7662:


Hi everyone. I would like to take this up. What resources can I look into to 
dive deeper into the issue?

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
>  Labels: AdventCalendar2021, lhf
> Fix For: 5.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 
> +Additional info for newcomers:+
> In order to implement this change you will need to change the Parser.g ANTLR 
> file located in the src/antlr directory and the java classes corresponding to 
> the CREATE statement located in the 
> org.apache.cassandra.cql3.statements.schema package.
> The unit test for the CQL logic are located under 
> org.apache.cassandra.cql3.validation
> cqlsh parsing will need to be modified to support the new LIKE syntax. The 
> logic is in pylib/cqlshlib/cql3handling.py and the test in 
> pylib/cqlshlib/test/test_cqlsh_completion.py



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2019-04-30 Thread Piotr Pastuszka (JIRA)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830178#comment-16830178
 ] 

Piotr Pastuszka commented on CASSANDRA-7662:


if there was CTAS functionality, then it would be enough to do CREATE TABLE x 
AS SELECT ... FROM y where 1 = 0;

CASSANDRA-8234 CTAS (CREATE TABLE AS SELECT)

> Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)
> --
>
> Key: CASSANDRA-7662
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7662
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Legacy/CQL
>Reporter: Aleksey Yeschenko
>Priority: Low
> Fix For: 4.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-11-10 Thread Aleksey Yeschenko (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998650#comment-14998650
 ] 

Aleksey Yeschenko commented on CASSANDRA-7662:
--

Sorry for a very late reply.

There are multiple things not covered by the patch:
- triggers should not be copied, as names would clash (as they are 
keyspace-scoped)
- indexes should not be copied, as names would clash (as they are 
keyspace-scoped)
- there are not tests (utest or dtests)
- in-tree CQL documentation would need to be updated as well
- the code doesn't follow the [Code 
Style|https://wiki.apache.org/cassandra/CodeStyle]

If you still want to give it a go, please do, but base the patch on trunk 
(3.2+) branch of C* this time. Sorry.

> 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: 3.x
>
> Attachments: 7662.patch, CASSANDRA-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  LIKE ; - would create a new table with 
> the same columns and options as 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315857#comment-14315857
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315862#comment-14315862
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315865#comment-14315865
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315854#comment-14315854
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315864#comment-14315864
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315860#comment-14315860
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315867#comment-14315867
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315859#comment-14315859
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315866#comment-14315866
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315861#comment-14315861
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315852#comment-14315852
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315863#comment-14315863
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315855#comment-14315855
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315856#comment-14315856
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315853#comment-14315853
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315850#comment-14315850
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315858#comment-14315858
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-11 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14315851#comment-14315851
 ] 

Pramod Nair commented on CASSANDRA-7662:


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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-10 Thread Tyler Hobbs (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14314560#comment-14314560
 ] 

Tyler Hobbs commented on CASSANDRA-7662:


[~pramod_nair] it looks like the majority of your patch is changing whitespace 
and imports.  Can you attach a patch without all of those 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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2015-02-04 Thread Pramod Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14306654#comment-14306654
 ] 

Pramod Nair commented on CASSANDRA-7662:


I am taking up this bug

 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


 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)


[jira] [Commented] (CASSANDRA-7662) Implement templated CREATE TABLE functionality (CREATE TABLE LIKE)

2014-08-18 Thread Kevin Burton (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-7662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14101399#comment-14101399
 ] 

Kevin Burton commented on CASSANDRA-7662:
-

Nice.  This is a feature of MySQL that I really liked.. we used it in our old 
MySQL system to implement partitioned tables.  We would create one master table 
and then created partitioned tables like the previous table.

We're aware that Cassandra should generally have  100 or so tables... which is 
find for our use case since we only have 30 of them.  They just keep rotating 
through.

This way we can just update the master table.

 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.1


 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.2#6252)