cloud-fan commented on code in PR #50230: URL: https://github.com/apache/spark/pull/50230#discussion_r2037322102
########## core/src/main/java/org/apache/spark/shuffle/sort/BypassMergeSortShuffleWriter.java: ########## @@ -199,6 +214,15 @@ public long[] getPartitionLengths() { return partitionLengths; } + public RowBasedChecksum[] getRowBasedChecksums() { + return rowBasedChecksums; + } + + public long getAggregatedChecksumValue() { + final long checksum = RowBasedChecksum.getAggregatedChecksumValue(rowBasedChecksums); + return checksum; Review Comment: ```suggestion return RowBasedChecksum.getAggregatedChecksumValue(rowBasedChecksums); ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org