You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
Search before asking
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: