[FLINK-36985][pipeline-connector/paimon] Tolerante ColumnAlreadyExistException when apply AddColumnEvent in paimon

This closes  #3828.
pull/3857/head
hiliuxg 2 weeks ago committed by GitHub
parent a130718c96
commit 32934393ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -201,9 +201,13 @@ public class PaimonMetadataApplier implements MetadataApplier {
} catch (Catalog.TableNotExistException
| Catalog.ColumnAlreadyExistException
| Catalog.ColumnNotExistException e) {
if (e instanceof Catalog.ColumnAlreadyExistException) {
LOG.warn("{}, skip it.", e.getMessage());
} else {
throw new SchemaEvolveException(event, e.getMessage(), e);
}
}
}
private List<SchemaChange> applyAddColumnEventWithPosition(AddColumnEvent event)
throws SchemaEvolveException {

Loading…
Cancel
Save