You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
We should investigate and improve the sort code to support concat_batches for more cases besides the following case:
// If less than sort_in_place_threshold_bytes, concatenate and sort in placeifself.reservation.size() < self.sort_in_place_threshold_bytes{// Concatenate memory batches together and sortlet batch = concat_batches(&self.schema,&self.in_mem_batches)?;self.in_mem_batches.clear();self.reservation.try_resize(get_reserved_byte_for_record_batch(&batch))?;let reservation = self.reservation.take();returnself.sort_batch_stream(batch, metrics, reservation);}