[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,7 +201,11 @@ public class PaimonMetadataApplier implements MetadataApplier {
} catch (Catalog.TableNotExistException } catch (Catalog.TableNotExistException
| Catalog.ColumnAlreadyExistException | Catalog.ColumnAlreadyExistException
| Catalog.ColumnNotExistException e) { | Catalog.ColumnNotExistException e) {
throw new SchemaEvolveException(event, e.getMessage(), e); if (e instanceof Catalog.ColumnAlreadyExistException) {
LOG.warn("{}, skip it.", e.getMessage());
} else {
throw new SchemaEvolveException(event, e.getMessage(), e);
}
} }
} }

Loading…
Cancel
Save