diff --git a/velox/exec/GroupingSet.cpp b/velox/exec/GroupingSet.cpp index 4069ba7ba4c1..5ec3548af7ab 100644 --- a/velox/exec/GroupingSet.cpp +++ b/velox/exec/GroupingSet.cpp @@ -931,7 +931,11 @@ void GroupingSet::ensureOutputFits() { return; } } - spill(RowContainerIterator{}); + LOG(WARNING) << "Failed to reserve " + << succinctBytes(outputBufferSizeToReserve) + << " for memory pool " << pool_.name() + << ", usage: " << succinctBytes(pool_.currentBytes()) + << ", reservation: " << succinctBytes(pool_.reservedBytes()); } RowTypePtr GroupingSet::makeSpillType() const {