snuyanzin commented on code in PR #28222:
URL: https://github.com/apache/flink/pull/28222#discussion_r3287867537
##########
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/ddl/table/SqlCreateTable.java:
##########
@@ -214,6 +225,11 @@ public void unparse(SqlWriter writer, int leftPrec, int
rightPrec) {
SqlUnparseUtils.unparseComment(comment, true, writer, leftPrec,
rightPrec);
SqlUnparseUtils.unparseDistribution(distribution, writer, leftPrec,
rightPrec);
SqlUnparseUtils.unparsePartitionKeyList(partitionKeyList, writer,
leftPrec, rightPrec);
+ if (connection != null) {
+ writer.newlineAndIndent();
+ writer.keyword("USING CONNECTION");
Review Comment:
Also in general: I wonder if also need to move it to
`SqlUnparseUtils.unparseUsingConnection`
--
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]