huyuanfeng2018 commented on code in PR #9606: URL: https://github.com/apache/iceberg/pull/9606#discussion_r1502526761
########## flink/v1.18/flink/src/main/java/org/apache/iceberg/flink/FlinkSchemaUtil.java: ########## @@ -68,6 +73,42 @@ public static Schema convert(TableSchema schema) { return freshIdentifierFieldIds(iSchema, schema); } + /** Convert the flink table schema to apache iceberg schema with column comment. */ + public static Schema convert(TableSchema schema, Map<String, String> columnComments) { Review Comment: +1. Thank you for your comment. It is true that only the `ResolvedCatalogTable` type is passed in create. I agree that we need to delete these outdated methods. I have modified this part of the code. PTAL. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org