[ 
https://issues.apache.org/jira/browse/FLINK-34948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831316#comment-17831316
 ] 

Qishang Zhong edited comment on FLINK-34948 at 3/27/24 12:05 PM:
-----------------------------------------------------------------

[~loserwang1024] There is no corresponding scenario in FlinkCDC. I used this 
conversion in the custom program, connected to a sink based on Flink RowType.

You can refer to the Test code in the PR.


was (Author: zhongqishang):
[~loserwang1024] There is no corresponding scenario in FlinkCDC. I used this 
conversion in the custom program.

You can refer to the Test code in the PR.

> CDC RowType can not convert to flink row type
> ---------------------------------------------
>
>                 Key: FLINK-34948
>                 URL: https://issues.apache.org/jira/browse/FLINK-34948
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>            Reporter: Qishang Zhong
>            Priority: Minor
>             Fix For: cdc-3.1.0
>
>
> Fix cdc {{RowType}} can not convert to flink type
> I meet the follow exception:
>  
> {code:java}
> java.lang.ArrayStoreException
>     at java.lang.System.arraycopy(Native Method)
>     at java.util.Arrays.copyOf(Arrays.java:3213)
>     at java.util.ArrayList.toArray(ArrayList.java:413)
>     at 
> java.util.Collections$UnmodifiableCollection.toArray(Collections.java:1036) 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to