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
In some situations, when spilling occurs, HashAggregationOperator doesn't reset memory usage to 0 upon finishing.
Can be reproduced with io.trino.operator.TestHashAggregationOperator#testHashAggregationMemoryReservation
after adding assertions:
// this passesassertEquals(getOnlyElement(operator.getOperatorContext().getNestedOperatorStats()).getRevocableMemoryReservation().toBytes(), 0);
// this fails in some cases:assertEquals(getOnlyElement(operator.getOperatorContext().getNestedOperatorStats()).getSystemMemoryReservation().toBytes(), 0);
In some situations, when spilling occurs, HashAggregationOperator doesn't reset memory usage to 0 upon finishing.
Can be reproduced with
io.trino.operator.TestHashAggregationOperator#testHashAggregationMemoryReservation
after adding assertions:
right after
cc @sopel39
The text was updated successfully, but these errors were encountered: