Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed Jul 23, 2024
1 parent 01ccb8e commit d5ea864
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ public long spill(long size, MemoryConsumer trigger) throws IOException {
if (iterator instanceof ChainedIterator) {
ChainedIterator it = (ChainedIterator) iterator;
int[] recordsForEach = it.numRecordForEach();
String str = Arrays.stream(recordsForEach).mapToObj(Integer::toString).collect(Collectors.joining(", "));
String str =
Arrays.stream(recordsForEach)
.mapToObj(Integer::toString)
.collect(Collectors.joining(", "));
logger.warn("Each length of the inMemSorter ChainedIterator is " + str);
} else if (iterator instanceof UnsafeInMemorySorter.SortedIterator) {
logger.warn("inMemSorter SortedIterator length " + iterator.getNumRecords());
Expand Down

0 comments on commit d5ea864

Please sign in to comment.