leonardBang commented on code in PR #3824:
URL: https://github.com/apache/flink-cdc/pull/3824#discussion_r1914334892


##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-paimon/src/test/java/org/apache/flink/cdc/connectors/paimon/sink/PaimonMetadataApplierTest.java:
##########
@@ -137,6 +140,12 @@ public void testApplySchemaChange(String metastore)
         Assertions.assertEquals(
                 tableSchema, 
catalog.getTable(Identifier.fromString("test.table1")).rowType());
 
+        Assertions.assertEquals(
+                "col3DefValue",
+                catalog.getTable(Identifier.fromString("test.table1"))
+                        .options()
+                        .get("fields.col3.default-value"));
+
         Map<String, String> nameMapping = new HashMap<>();
         nameMapping.put("col2", "newcol2");
         nameMapping.put("col3", "newcol3");

Review Comment:
   wired design,It means that we need to update default value twice for paimon ?



-- 
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...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to