Sxnan commented on code in PR #6027:
URL: https://github.com/apache/paimon/pull/6027#discussion_r2275022236


##########
paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/SchemaChangeITCase.java:
##########
@@ -685,7 +684,6 @@ public void testModifyNullability() {
                                         "INSERT INTO T VALUES('aaa', 'bbb', 
'ccc', 1, CAST(NULL AS FLOAT))"))
                 .satisfies(
                         anyCauseMatches(
-                                TableException.class,

Review Comment:
   Yes, Flink 2.1 changes the exception type from `TableException` to 
`EnforcerException`. Instead of making the test to adapt to both cases, I think 
it is easier to just ignore the type and just make sure the exception message 
is correct.
   
   see https://github.com/apache/flink/pull/26540



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

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

Reply via email to