cxzl25 commented on PR #37800: URL: https://github.com/apache/spark/pull/37800#issuecomment-1236586451
Tested with ORC 1.7.5 ``` sbt:spark-sql> testOnly *.OrcV2QuerySuite -- -t "SPARK-39830: Reading ORC table that requires type promotion may throw AIOOBE" ``` ```java 14:12:00.408 ERROR org.apache.spark.scheduler.TaskSetManager: Task 0 in stage 1.0 failed 1 times; aborting job [info] - SPARK-39830: Reading ORC table that requires type promotion may throw AIOOBE *** FAILED *** (7 seconds, 530 milliseconds) [info] org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 1.0 failed 1 times, most recent failure: Lost task 0.0 in stage 1.0 (TID 1) (10.18.40.187 executor driver): java.lang.ArrayIndexOutOfBoundsException: 1 [info] at org.apache.orc.impl.TreeReaderFactory$TreeReader.nextVector(TreeReaderFactory.java:387) [info] at org.apache.orc.impl.TreeReaderFactory$LongTreeReader.nextVector(TreeReaderFactory.java:740) [info] at org.apache.orc.impl.ConvertTreeReaderFactory$StringGroupFromAnyIntegerTreeReader.nextVector(ConvertTreeReaderFactory.java:1069) [info] at org.apache.orc.impl.reader.tree.StructBatchReader.readBatchColumn(StructBatchReader.java:65) [info] at org.apache.orc.impl.reader.tree.StructBatchReader.nextBatchForLevel(StructBatchReader.java:100) [info] at org.apache.orc.impl.reader.tree.StructBatchReader.nextBatch(StructBatchReader.java:77) [info] at org.apache.orc.impl.RecordReaderImpl.nextBatch(RecordReaderImpl.java:1371) [info] at org.apache.spark.sql.execution.datasources.orc.OrcColumnarBatchReader.nextBatch(OrcColumnarBatchReader.java:207) [info] at org.apache.spark.sql.execution.datasources.orc.OrcColumnarBatchReader.nextKeyValue(OrcColumnarBatchReader.java:100) [info] at org.apache.spark.sql.execution.datasources.RecordReaderIterator.hasNext(RecordReaderIterator.scala:39) [info] at org.apache.spark.sql.execution.datasources.FileScanRDD$$anon$1.hasNext(FileScanRDD.scala:118) [info] at org.apache.spark.sql.execution.FileSourceScanExec$$anon$1.hasNext(DataSourceScanExec.scala:592) ``` -- 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]
