Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.5.3
-
None
Description
When use compact command for streaming table which contains complex column like array, it'll thow ArrayIndexOutOfBoundsException.
Compact command
ALTER TABLE streaming1.stream_table_filter_complex COMPACT 'close_streaming'
Stackstrace
java.lang.ArrayIndexOutOfBoundsException: 9 at org.apache.carbondata.processing.loading.sort.SortStepRowHandler.packNoSortFieldsToBytes(SortStepRowHandler.java:808) at org.apache.carbondata.processing.loading.sort.SortStepRowHandler.writeRawRowAsIntermediateSortTempRowToOutputStream(SortStepRowHandler.java:481) at org.apache.carbondata.processing.sort.sortdata.SortDataRows.writeDataToFile(SortDataRows.java:244) at org.apache.carbondata.processing.sort.sortdata.SortDataRows.startSorting(SortDataRows.java:222) at org.apache.carbondata.processing.merger.CompactionResultSortProcessor.processResult(CompactionResultSortProcessor.java:257) at org.apache.carbondata.processing.merger.CompactionResultSortProcessor.execute(CompactionResultSortProcessor.java:175) at org.apache.carbondata.spark.rdd.StreamHandoffRDD.internalCompute(StreamHandoffRDD.scala:123) at org.apache.carbondata.spark.rdd.CarbonRDD.compute(CarbonRDD.scala:82) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323) at org.apache.spark.rdd.RDD.iterator(RDD.scala:287) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87) at org.apache.spark.scheduler.Task.run(Task.scala:108)
Attachments
Issue Links
- links to