jbonofre commented on PR #11386:
URL: https://github.com/apache/iceberg/pull/11386#issuecomment-2435789965
The problem seems to be related to:
```
java.lang.ClassCastException: class java.lang.String cannot be cast to class
org.apache.flink.table.data.StringData (java.lang.String is in module java.base
of loader 'bootstrap'; org.apache.flink.table.data.StringData is in unnamed
module of loader 'app')
at
org.apache.flink.table.data.GenericRowData.getString(GenericRowData.java:169)
at
org.apache.flink.table.data.RowData.lambda$createFieldGetter$245ca7d1$1(RowData.java:221)
at
org.apache.iceberg.flink.data.RowDataProjection.getValue(RowDataProjection.java:172)
at
org.apache.iceberg.flink.data.RowDataProjection.isNullAt(RowDataProjection.java:193)
at
org.apache.iceberg.flink.data.RowDataUtil.clone(RowDataUtil.java:96)
at
org.apache.iceberg.flink.source.reader.RowDataRecordFactory.clone(RowDataRecordFactory.java:71)
at
org.apache.iceberg.flink.source.reader.RowDataRecordFactory.clone(RowDataRecordFactory.java:28)
at
org.apache.iceberg.flink.source.reader.ArrayPoolDataIteratorBatcher$ArrayPoolBatchIterator.next(ArrayPoolDataIteratorBatcher.java:98)
at
org.apache.iceberg.flink.source.reader.ArrayPoolDataIteratorBatcher$ArrayPoolBatchIterator.next(ArrayPoolDataIteratorBatcher.java:67)
at
org.apache.iceberg.flink.source.reader.IcebergSourceSplitReader.fetch(IcebergSourceSplitReader.java:96)
at
org.apache.flink.connector.base.source.reader.fetcher.FetchTask.run(FetchTask.java:58)
at
org.apache.flink.connector.base.source.reader.fetcher.SplitFetcher.runOnce(SplitFetcher.java:165)
... 6 more
```
So it seems related to string read from the `GenericRowData`. I'm checking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]