LsomeYeah opened a new pull request, #5078: URL: https://github.com/apache/paimon/pull/5078
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> Linked issue: close #xxx <!-- What is the purpose of the change --> In pr https://github.com/apache/paimon/pull/4639 and https://github.com/apache/paimon/pull/4878, we had supported migrating iceberg table managed by hadoop-catalog or hive-catalog to paimon. This pr aims to support migrating the iceberg table which had suffered once or several times schema evolution. Paimon stores the schema-id in each DataFileMeta for reading data files which had suffered schema evolution, so we extract the schema-id used by each iceberg data file and record it in the corresponding paimon DataFileMeta, and this makes paimon can handle the schema evolution case. ### Tests <!-- List UT and IT cases to verify this change --> IcebergMigrateTest#testDeleteColumn IcebergMigrateTest#testRenameColumn IcebergMigrateTest#testAddColumn IcebergMigrateTest#testReorderColumn IcebergMigrateTest#testUpdateColumn IcebergMigrateTest#testMigrateWithRandomIcebergEvolution ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does this change introduce a new feature --> -- 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]
