Closed LinMingQiang closed 3 days ago
Kryo serializer use com.esotericsoftware.kryo.serializers.CollectionSerializer
to deserialize Collection type class, CollectionSerializer#read
will create a unmodifiable Collection instance depends on fields Type (unmodifiableList) As the picture shows, when kryo add element info the Collection will throw UnsupportedOperationException because Collection is a unmodifiableList.
RichCdcMultiplexRecord.fields
is instantiated in RowType construction method.
Construct RichCdcMultiplexRecord:
Extract field.
Build field.
Cool~ Waiting the CI.
@JingsongLi help to review this issue, thanks.
👌
+1
Purpose
Linked issue: close #3630
Tests
API and Format
Documentation