beansandroasters commented on code in PR #4639:
URL: https://github.com/apache/flink-cdc/pull/4639#discussion_r4780815131


##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-iceberg/src/main/java/org/apache/flink/cdc/connectors/iceberg/sink/IcebergMetadataApplier.java:
##########
@@ -336,6 +336,18 @@ private void applyAlterColumnType(AlterColumnTypeEvent 
event) {
                                                                 
.getLogicalType())
                                                 .asPrimitiveType();
                                 updateSchema.updateColumn(name, type);
+                                // Relaxing NOT NULL to NULL is always safe; 
otherwise writing a
+                                // null value into the still-required Iceberg 
field fails.
+                                // Identifier fields must stay required in 
Iceberg.

Review Comment:
   Thanks for the review! I've removed the inline comments in 621ddde.



-- 
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]

Reply via email to