Hi, devs. As the FLIPs FLIP-218[1] & FLIP-305[2] for Flink to supports CREATE TABLE AS SELECT statement has been accepted. I would like to start a discussion about FLIP-303: Support REPLACE TABLE AS SELECT+statement[3] to complete such kinds of statements. With REPLACE TABLE AS SELECT statement, users won't need to drop the table firstly, and use CREATE TABLE AS SELECT then. Since the statement is much similar to CREATE TABLE AS statement, the design is much similar to FLIP-218[1] & FLIP-305[2] apart from some parts specified to REPLACE TABLE AS SELECT statement. Just kindly remind, to understand this FLIP better, you may need read FLIP-218[1] & FLIP-305[2] to get more context.
Look forward to your feedback. [1]: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199541185 [2]: https://cwiki.apache.org/confluence/display/FLINK/FLIP-305%3A+Support+atomic+for+CREATE+TABLE+AS+SELECT%28CTAS%29+statement [3]: https://cwiki.apache.org/confluence/display/FLINK/FLIP-303%3A+Support+REPLACE+TABLE+AS+SELECT+statement Best regards, Yuxia