You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Hongyu Guo <gu...@gmail.com> on 2023/09/27 03:15:56 UTC

PR CALCITE-6022 Review Request

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

Re: PR CALCITE-6022 Review Request

Posted by Julian Hyde <jh...@gmail.com>.
Looks good to me. Nice work. 

> On Sep 26, 2023, at 8:16 PM, Hongyu Guo <gu...@gmail.com> wrote:
> 
> 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