Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Connector: Kudu] org.apache.flink.table.data.GenericRowData cannot be cast to com.dtstack.chunjun.element.ColumnRowData #1275

Closed
3 tasks done
JaryZhen opened this issue Sep 21, 2022 · 0 comments · Fixed by #1277
Labels
bug Something isn't working

Comments

@JaryZhen
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

java.lang.ClassCastException: org.apache.flink.table.data.GenericRowData cannot be cast to com.dtstack.chunjun.element.ColumnRowData
at com.dtstack.chunjun.connector.kudu.sink.KuduOutputFormat.writeSingleRecordInternal(KuduOutputFormat.java:77)
at com.dtstack.chunjun.sink.format.BaseRichOutputFormat.writeSingleRecord(BaseRichOutputFormat.java:467)
at com.dtstack.chunjun.sink.format.BaseRichOutputFormat.lambda$writeRecordInternal$1(BaseRichOutputFormat.java:488)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at com.dtstack.chunjun.sink.format.BaseRichOutputFormat.writeRecordInternal(BaseRichOutputFormat.java:488)
at com.dtstack.chunjun.sink.format.BaseRichOutputFormat.lambda$initTimingSubmitTask$0(BaseRichOutputFormat.java:444)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassCastException: org.apache.flink.table.data.GenericRowData cannot be cast to com.dtstack.chunjun.element.ColumnRowData
at com.dtstack.chunjun.connector.kudu.converter.KuduRowConverter.lambda$createExternalConverter$d9f45856$12(KuduRowConverter.java:214)
at com.dtstack.chunjun.connector.kudu.converter.KuduRowConverter.lambda$wrapIntoNullableExternalConverter$f57d59ce$1(KuduRowConverter.java:80)
at com.dtstack.chunjun.connector.kudu.converter.KuduRowConverter.toExternal(KuduRowConverter.java:108)
at com.dtstack.chunjun.connector.kudu.converter.KuduRowConverter.toExternal(KuduRowConverter.java:50)
at com.dtstack.chunjun.connector.kudu.sink.KuduOutputFormat.writeSingleRecordInternal(KuduOutputFormat.java:72)

What you expected to happen

How to reproduce

sink to kudu with timestamp value

Anything else

No response

Version

master

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@JaryZhen JaryZhen added the bug Something isn't working label Sep 21, 2022
@JaryZhen JaryZhen changed the title [Bug] [Kudu] org.apache.flink.table.data.GenericRowData cannot be cast to com.dtstack.chunjun.element.ColumnRowData [Bug] [Connector: Kudu] org.apache.flink.table.data.GenericRowData cannot be cast to com.dtstack.chunjun.element.ColumnRowData Sep 21, 2022
@FlechazoW FlechazoW linked a pull request Sep 28, 2022 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant