HashGroupingOperator has been updated to close inbound pages. Ordinals needs to do similar.
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/OrdinalsGroupingOperator.java
}
    @Override
    public boolean isFinished() {
        return finished && valuesAggregator == null && ordinalAggregators.isEmpty();
    }
    @Override
    public void close() {
        Releasables.close(() -> Releasables.close(ordinalAggregators.values()), valuesAggregator);
    }
    private static void checkState(boolean condition, String msg) {
        if (condition == false) {
            throw new IllegalArgumentException(msg);
        }
    }
    @Override
    public String toString() {
        return this.getClass().getSimpleName() + "[" + "aggregators=" + aggregatorFactories + "]";
    }
    record SegmentID(int shardIndex, int segmentIndex) {
    }
    static final class OrdinalSegmentAggregator implements Releasable, SeenGroupIds {
        private final List<GroupingAggregator> aggregators;
        private final ValuesSource.Bytes.WithOrdinals withOrdinals;
        private final LeafReaderContext leafReaderContext;
        private final BitArray visitedOrds;
        private BlockOrdinalsReader currentReader;
        OrdinalSegmentAggregator(
            List<GroupingAggregator> aggregators,
            ValuesSource.Bytes.WithOrdinals withOrdinals,
            LeafReaderContext leafReaderContext,