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

Maxwell Guo edited comment on CASSANDRA-19964 at 12/20/24 10:06 AM:
--------------------------------------------------------------------

Hi [~smiklosovic], [~blerer], 
I did not complete the keywords related to "CREATE TABLE LIKE" for cqlsh  in 
this patch,

that is to say, I did not modify the code logic of these two files: 
(1)pylib/cqlshlib/cql3handling.py 
(2)pylib/cqlshlib/test/test_cqlsh_completion.py. 

 I plan to complete them in the [last 
ticket|https://issues.apache.org/jira/browse/CASSANDRA-19965] of CEP-43, and I 
have updated the description of the ticket . Please be aware.



was (Author: maxwellguo):
Hi [~smiklosovic], [~blerer], 
I did not complete the keywords related to "CREATE TABLE LIKE" in cqlsh  in 
this patch,

that is to say, I did not modify the code logic of these two files: 
(1)pylib/cqlshlib/cql3handling.py 
(2)pylib/cqlshlib/test/test_cqlsh_completion.py. 

 I plan to complete them in the [last 
ticket|https://issues.apache.org/jira/browse/CASSANDRA-19965] of CEP-43, and I 
have updated the description of the ticket . Please be aware.


> CREATE TABLE LIKE for copying  Basic Table definition
> -----------------------------------------------------
>
>                 Key: CASSANDRA-19964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19964
>             Project: Apache Cassandra
>          Issue Type: New Feature
>          Components: Cluster/Schema, CQL/Syntax
>            Reporter: Maxwell Guo
>            Assignee: Maxwell Guo
>            Priority: Normal
>             Fix For: 5.x
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Introduce CREATE TABLE LIKE grammar that only COPY table's basic information: 
>  primary key , clustering key, regular column , and their data 
> types(including udt), data masking and table params , under the same keyspace 
> or different keyspace.
> Besides, we can also set table paramas at the time when copy table : The 
> grammer is :
> {quote}CREATE TABLE [IF NOT EXISTS] <newtable> LIKE <oldtable> WITH 
> <property> = <value>{quote}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to