tzulitai opened a new pull request #7557: [FLINK-11406] [core] Return 
INCOMPATIBLE when nested serializers arity don't match in 
CompositeTypeSerializerSnapshot
URL: https://github.com/apache/flink/pull/7557
 
 
   ## What is the purpose of the change
   
   Right now, in 
`CompositeTypeSerializerSnapshot.resolveSchemaCompatibility(...)`, if arity of 
nested serializers don't match between the snapshot and the provided new 
serializer, a runtime exception is thrown.
   
   More ideally, this should return 
`TypeSerializerSchemaCompatibility.incompatible()`.
   
   ## Verifying this change
   
   A new unit test 
`CompositeTypeSerializerSnapshotTest.testNestedFieldSerializerArityMismatchPrecedence`
 covers this change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to