mysql-binlog-connector-java icon indicating copy to clipboard operation
mysql-binlog-connector-java copied to clipboard

Add support for the data type MYSQL_TYPE_TYPED_ARRAY

Open ruanhang1993 opened this issue 2 years ago • 3 comments

Add support for the data type MYSQL_TYPE_TYPED_ARRAY. https://github.com/mysql/mysql-server/commit/9082b6a820f3948fd563cc32a050f5e8775f2855

ruanhang1993 avatar Mar 15 '23 07:03 ruanhang1993

More details see #104.

ruanhang1993 avatar Mar 15 '23 07:03 ruanhang1993

hi, can you tell me how to reproduce getting mysql to generate a TYPED_ARRAY event? I'd like to integration test this but am not sure quite how.

osheroff avatar Mar 26 '23 05:03 osheroff

Hi, @osheroff , Actually I am not sure when this type will occur in MySQL. I have added some unit tests for this. The code for this type deserialization is a reference to another tool canal at https://github.com/alibaba/canal/blob/master/dbsync/src/main/java/com/taobao/tddl/dbsync/binlog/event/TableMapLogEvent.java#L546.

ruanhang1993 avatar Mar 26 '23 15:03 ruanhang1993