Airblader commented on a change in pull request #15606:
URL: https://github.com/apache/flink/pull/15606#discussion_r612993447



##########
File path: 
flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/operations/SqlCreateTableConverter.java
##########
@@ -89,7 +89,10 @@ private CatalogTable createCatalogTable(SqlCreateTable 
sqlCreateTable) {
         if (sqlCreateTable.getTableLike().isPresent()) {
             SqlTableLike sqlTableLike = sqlCreateTable.getTableLike().get();
             CatalogTable table = lookupLikeSourceTable(sqlTableLike);
-            sourceTableSchema = table.getSchema();
+            sourceTableSchema =

Review comment:
       We should probably remove the `TableSchema` usage here altogether, I 
just wanted to focus on fixing this first since it's a blocker. Happy to hear 
whether to do it in this PR or a follow-up refactoring?




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to