I think that one important part will be to define the boundaries of the copy. For example, will it also copy the indexes and the Materialized views or only the table schema. Can it be done in a different keyspace? If yes, how about the UDTs if the table uses some? I do not have an opinion. Just raising the questions :-)
Le lun. 19 août 2024 à 18:11, guo Maxwell <cclive1...@gmail.com> a écrit : > Hello, everyone: > As Jira CASSANDRA-7662 > <https://issues.apache.org/jira/browse/CASSANDRA-7662> has described , we > would like to introduce a new grammer " CREATE TABLE LIKE " > ,which simplifies creating new tables duplicating the existing ones . > The format may be like : CREATE TABLE <new_table> LIKE <old_table> > > Before I implement this function, do you have any suggestions on this? > > Looking forward to your reply! >