[ https://issues.apache.org/jira/browse/CASSANDRA-19964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer updated CASSANDRA-19964: --------------------------------------- Status: Ready to Commit (was: Review In Progress) > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org