Tartarus0zm commented on code in PR #20252:
URL: https://github.com/apache/flink/pull/20252#discussion_r925577545
##########
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/SqlCreateTable.java:
##########
@@ -189,6 +198,15 @@ public void validate() throws SqlValidateException {
if (tableLike != null) {
tableLike.validate();
}
+
+ if (query != null
+ && (columnList.size() > 0
+ || constraints.size() > 0
Review Comment:
flink dialect does not supports dynamic partition, so CTAS also does not
support Partition Key
--
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]