waltczhang commented on issue #3374:
URL: https://github.com/apache/iceberg/issues/3374#issuecomment-951841026


   As above, the following exception will be thrown when the partition is 
updated and expire snapshots are executed
   
   ` java.lang.ClassCastException: java.nio.HeapCharBuffer cannot be cast to 
java.lang.Void
        at 
org.apache.iceberg.transforms.VoidTransform.toHumanString(VoidTransform.java:27)
        at 
org.apache.iceberg.ManifestsTable.partitionSummariesToRows(ManifestsTable.java:115)
        at 
org.apache.iceberg.ManifestsTable.manifestFileToRow(ManifestsTable.java:98)
        at 
org.apache.iceberg.AllManifestsTable$ManifestListReadTask.lambda$rows$0(AllManifestsTable.java:182)
        at 
org.apache.iceberg.io.CloseableIterable$4$1.next(CloseableIterable.java:114)
        at 
org.apache.iceberg.io.CloseableIterable$4$1.next(CloseableIterable.java:114)
        at 
org.apache.iceberg.io.CloseableIterable$4$1.next(CloseableIterable.java:114)
        at 
org.apache.iceberg.spark.source.BaseDataReader.next(BaseDataReader.java:88)
        at 
org.apache.spark.sql.execution.datasources.v2.DataSourceRDD$$anon$1.hasNext(DataSourceRDD.scala:49)
        at 
org.apache.spark.InterruptibleIterator.hasNext(InterruptibleIterator.scala:37)
        at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.agg_doAggregateWithKeys_0$(Unknown
 Source)
        at 
org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown
 Source)
        at 
org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
        at 
org.apache.spark.sql.execution.WholeStageCodegenExec$$anonfun$13$$anon$1.hasNext(WholeStageCodegenExec.scala:636)
        at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:409)
        at 
org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:127)
        at 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
        at 
org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:55)
        at org.apache.spark.scheduler.Task.run(Task.scala:123)
        at 
org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
        at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1419)
        at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
        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)`


-- 
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]

Reply via email to