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

Stefan Miklosovic commented on CASSANDRA-19964:
-----------------------------------------------

1) This should be possible, by that way we could override the settings of old 
table by attributes specified in CQL

https://github.com/apache/cassandra/pull/3722/commits/9b36cfecf7612271cbc0dde9cd16ada6f6756919

2) Yes I am OK with creating new class - CopyTableStatement - and put the new 
logic into that. That way we have two distinct classes, each doing its job. 
Just put the logic I suggested into the new class as you showed in your first 
PR.

> 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 20m
>  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.



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