You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxwell Guo (Jira)" <ji...@apache.org> on 2024/12/03 14:10:00 UTC

[jira] [Commented] (CASSANDRA-19964) CREATE TABLE LIKE for copying Basic Table definition

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

Maxwell Guo commented on CASSANDRA-19964:
-----------------------------------------

Hello everyone, the patch for CASSANDRA-19964 is ready for review, 
I have two implementations. The only difference between them is that the parsing entry is different.
1、the first one I called  [coptablestatement|https://github.com/apache/cassandra/pull/3718], dfefines a new parse path that is different from create table. 
2、[the second|https://github.com/apache/cassandra/pull/3721] just used create table's parse path. 
Other places are similar, such as test case.

Looking forward to your reply. [~blerer] [~smiklosovic] [~aleksey] 

> 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
>
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org