srowen commented on a change in pull request #23856: [SPARK-26953][CORE][TEST]
Test TimSort for ArrayIndexOutOfBoundsException
URL: https://github.com/apache/spark/pull/23856#discussion_r259582668
##########
File path:
core/src/test/scala/org/apache/spark/util/collection/SorterSuite.scala
##########
@@ -241,6 +360,13 @@ class IntArraySortDataFormat extends
AbstractIntArraySortDataFormat[Int] {
}
}
+class ByteArraySortDataFormat extends AbstractByteArraySortDataFormat[Byte] {
Review comment:
Also surprised by that; I can't think of a way this would be faster. I guess
this is how the code it is copying is constructed, so OK.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]