flink-cdc
flink-cdc copied to clipboard
[improvement] adding runtime converter array
Description
In the documentation doesn't mention a way to map between postgres type arrays and flink datatype.
Details
This PR add a way to process arrays. For primitive int and long is tranforming in a primitive array to create the GenericArrayData, and for String, the elements are being wrapped in StringData.
Hi @Mrart, maybe you can help to review this.
Hi @Mrart, maybe you can help to review this.
I will review after https://github.com/apache/flink-cdc/pull/4086.
@iundarigun Can you update the code and add tests case for postgres pipeline to cover this?