wuwenchi commented on code in PR #4625:
URL: https://github.com/apache/iceberg/pull/4625#discussion_r865684578
##########
flink/v1.14/flink/src/main/java/org/apache/iceberg/flink/FlinkCatalog.java:
##########
@@ -374,7 +378,7 @@ void createIcebergTable(ObjectPath tablePath,
CatalogBaseTable table, boolean ig
throws CatalogException, TableAlreadyExistException {
validateFlinkTable(table);
- Schema icebergSchema = FlinkSchemaUtil.convert(table.getSchema());
+ Schema icebergSchema = FlinkSchemaUtil.convert(((ResolvedCatalogTable)
table).getResolvedSchema());
Review Comment:
yes, in this interface, we always get `ResolvedCatalogTable`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]