zihaoAK47 commented on code in PR #28808:
URL: https://github.com/apache/shardingsphere/pull/28808#discussion_r1366441637
##########
parser/sql/statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/statement/ddl/CreateTableStatement.java:
##########
@@ -36,7 +38,18 @@ public abstract class CreateTableStatement extends
AbstractSQLStatement implemen
private SimpleTableSegment table;
+ private SelectStatement selectStatement;
Review Comment:
Hi, mentor. When analyzing the SQL format of "CREATE TABLE AS SELECT"
statement in MySQL, I found that Oracle, SQL Server, OpenGauss, and PostgreSQL
all support similar SQL formats. The SelectStatement is currently defined in
the SQLServerCreateTableStatement. Should we move the SelectStatement to the
CreateTableStatement class for definition?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]