@@ -717,7 +717,12 @@ impl MultiPartitionShuffleRepartitioner {
717717 & mut self . partition_indices ,
718718 vec ! [ vec![ ] ; num_output_partitions] ,
719719 ) ;
720- PartitionedBatchesProducer :: new ( buffered_batches, indices, self . batch_size , self . metrics . repart_time . clone ( ) )
720+ PartitionedBatchesProducer :: new (
721+ buffered_batches,
722+ indices,
723+ self . batch_size ,
724+ self . metrics . repart_time . clone ( ) ,
725+ )
721726 }
722727
723728 fn spill ( & mut self ) -> Result < ( ) > {
@@ -1046,7 +1051,7 @@ struct PartitionedBatchesProducer {
10461051 buffered_batches : Vec < RecordBatch > ,
10471052 partition_indices : Vec < Vec < ( u32 , u32 ) > > ,
10481053 batch_size : usize ,
1049- repart_time : Time
1054+ repart_time : Time ,
10501055}
10511056
10521057impl PartitionedBatchesProducer {
@@ -1060,7 +1065,7 @@ impl PartitionedBatchesProducer {
10601065 partition_indices : indices,
10611066 buffered_batches,
10621067 batch_size,
1063- repart_time
1068+ repart_time,
10641069 }
10651070 }
10661071
@@ -1069,7 +1074,7 @@ impl PartitionedBatchesProducer {
10691074 & self . partition_indices [ partition_id] ,
10701075 & self . buffered_batches ,
10711076 self . batch_size ,
1072- & self . repart_time
1077+ & self . repart_time ,
10731078 )
10741079 }
10751080}
@@ -1096,7 +1101,7 @@ impl<'a> PartitionedBatchIterator<'a> {
10961101 batch_size,
10971102 indices : vec ! [ ] ,
10981103 pos : 0 ,
1099- repart_time
1104+ repart_time,
11001105 } ;
11011106 }
11021107
@@ -1113,7 +1118,7 @@ impl<'a> PartitionedBatchIterator<'a> {
11131118 batch_size,
11141119 indices : current_indices,
11151120 pos : 0 ,
1116- repart_time
1121+ repart_time,
11171122 }
11181123 }
11191124}
0 commit comments