Hi devs, I have submitted PR[1] to support a new DDL syntax: "CREATE TABLE LIKE".
"CREATE TABLE LIKE" will define a new table using definition of an existing table, and it is optional to preserve the generated column information and expression default values of the original table. More details referred in CALCITE-6022[2]. If someone has time, please help me to review this PR. Thanks. [1] https://github.com/apache/calcite/pull/3442 [2] https://issues.apache.org/jira/browse/CALCITE-6022 Best, Hongyu Guo
